Package io.jans.scim.service.scim2
Class UserPersistenceHelper
java.lang.Object
io.jans.scim.service.scim2.UserPersistenceHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomObjectClass(ScimCustomPerson person) voidaddPerson(ScimCustomPerson person) getPersonByInum(String inum) getUserInumFromDN(String deviceDn) voidremovePerson(ScimCustomPerson person) voidremoveUserFromGroups(ScimCustomPerson person) "Detaches" a person from all groups he is currently member ofsyncEmailForward(ScimCustomPerson customPerson) One-way sync from "jansEmail" to "mail".voidupdatePerson(ScimCustomPerson person)
-
Constructor Details
-
UserPersistenceHelper
public UserPersistenceHelper()
-
-
Method Details
-
getUserInumFromDN
-
addCustomObjectClass
-
addPerson
- Throws:
Exception
-
getPersonByInum
- Throws:
Exception
-
updatePerson
-
removeUserFromGroups
"Detaches" a person from all groups he is currently member of- Parameters:
person- The person in question- Throws:
Exception
-
syncEmailForward
One-way sync from "jansEmail" to "mail". Ultimately this is persisted so "mail" will be updated by values from "jansEmail".- Parameters:
customPerson- Represents the user object to be modified- Returns:
- Modified user object
- Throws:
Exception- If (json) values in excludeEmail cannot be parsed
-
removePerson
-