Class LdapGroupUserConverter
java.lang.Object
edu.internet2.middleware.grouper.app.loader.ldap.LdapGroupUserConverter
This is an example of a converter for DN to user or group. see
https://bugs.internet2.edu/jira/browse/GRP-1354
Convert a DN to a subjectId if its a person or to a groupName in Grouper if a group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
convert dn to subject identifier or group name, log the resultstatic String
equalsValuePart
(String string) convert AB=whatever to whateverstatic void
-
Constructor Details
-
LdapGroupUserConverter
public LdapGroupUserConverter()
-
-
Method Details
-
main
- Parameters:
args
-
-
convertDntoSubjectIdOrIdentifier
convert dn to subject identifier or group name, log the result- Parameters:
dn
-- Returns:
- the subject identifier or group name
-
equalsValuePart
convert AB=whatever to whatever- Parameters:
string
-- Returns:
- the "whatever" value
-