GroupIdEncoder

public class GroupIdEncoder extends Object

Helper utility to encode Group identifier in a consistent way between identity and indexing connectors. CloudIdentity API supports only subset of characters in group identifiers. This utility escapes unsupported characters using percent encoding.

Public Constructor Summary

Public Method Summary

static String
encodeGroupId(String groupId)
Encode group identifier by escaping unsupported characters.

Inherited Method Summary

Public Constructors

public GroupIdEncoder ()

Public Methods

public static String encodeGroupId (String groupId)

Encode group identifier by escaping unsupported characters.

Parameters
groupId to encode
Returns
  • encoded group identifier