Package com.avoka.fc.core.util
Class SAML2AttributesUtils
- java.lang.Object
-
- com.avoka.fc.core.util.SAML2AttributesUtils
-
public class SAML2AttributesUtils extends Object
Provides utility methods around SAML2 Attributes- Since:
- 4.2.1
-
-
Constructor Summary
Constructors Constructor Description SAML2AttributesUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>
cnNameParseGroupList(List<String> groupList)
Returns a Setcontaining the parsed CN Group Names given a list of fully qualified group names static String
cnNameParser(String groupName)
Parses out the CN group name, get the group name out of the first element, e.g.
-
-
-
Method Detail
-
cnNameParser
public static String cnNameParser(String groupName)
Parses out the CN group name, get the group name out of the first element, e.g. "CN=fcdemo,OU=Distribution Groups,OU=MyBusiness,DC=avoka,DC=local" becomes "fcdemo"- Parameters:
groupName
- this is the group name from AD memberOf eg "CN=fcdemo,OU=Distribution Groups,OU=MyBusiness,DC=avoka,DC=local"- Returns:
- the group name out of the first CN element eg "fcdemo"
-
cnNameParseGroupList
public static Set<String> cnNameParseGroupList(List<String> groupList)
Returns a Setcontaining the parsed CN Group Names given a list of fully qualified group names - Parameters:
groupList
- a list of Strings the fully qualified group names from AD memberOf eg "CN=fcdemo,OU=Distribution Groups,OU=MyBusiness,DC=avoka,DC=local"- Returns:
- a Set
containing the parsed CN Group Names
-
-