Interface UserIdentityModel
- All Superinterfaces:
IdentityModel
public interface UserIdentityModel extends IdentityModel
All Connectors developed using the base framework
must define a concrete class (probably a POJO) that inherits
UserIdentityModel, so that the base connector framework
has a User model definition to transmit and utilize.
-
Method Summary
Modifier and Type Method Description List<String>
getAssignedGroupIds()
Implement this method to return a list of group id's that the user is assigned to.String
getAssignedGroupsAttributeName()
Implement this method to return the connector attribute name that holds group id(s) that the user currently belongs to.default IdentityModelType
getIdentityType()
Methods inherited from interface com.exclamationlabs.connid.base.connector.model.IdentityModel
getIdentityIdValue, getIdentityNameValue, identityToString
-
Method Details
-
getIdentityType
- Specified by:
getIdentityType
in interfaceIdentityModel
-
getAssignedGroupsAttributeName
String getAssignedGroupsAttributeName()Implement this method to return the connector attribute name that holds group id(s) that the user currently belongs to.- Returns:
- String version of attribute name
-
getAssignedGroupIds
Implement this method to return a list of group id's that the user is assigned to. This needs to be implemented so the base API can automate adding/removing groups from the user.- Returns:
- List of Strings holding group ids that the user is currently assigned to.
-