Class UserMgmtService


  • @ApplicationScoped
    @Named("userMgmtSrv")
    public class UserMgmtService
    extends Object
    • Constructor Detail

      • UserMgmtService

        public UserMgmtService()
    • Method Detail

      • getPeopleBaseDn

        public String getPeopleBaseDn()
      • searchUsers

        public io.jans.orm.model.PagedResult<io.jans.as.common.model.common.User> searchUsers​(io.jans.model.SearchRequest searchRequest)
      • getUserByName

        public List<io.jans.as.common.model.common.User> getUserByName​(String name)
      • getUserByEmail

        public List<io.jans.as.common.model.common.User> getUserByEmail​(String email)
      • removeUser

        public void removeUser​(io.jans.as.common.model.common.User user)
      • patchUser

        public io.jans.as.common.model.common.User patchUser​(String inum,
                                                             UserPatchRequest userPatchRequest)
                                                      throws com.github.fge.jsonpatch.JsonPatchException,
                                                             IOException
        Throws:
        com.github.fge.jsonpatch.JsonPatchException
        IOException
      • getUserBasedOnInum

        public io.jans.as.common.model.common.User getUserBasedOnInum​(String inum)
      • getUserExclusionAttributesAsString

        public String getUserExclusionAttributesAsString()
      • parseBirthDateAttribute

        public io.jans.as.common.model.common.User parseBirthDateAttribute​(io.jans.as.common.model.common.User user)
      • ignoreCustomObjectClassesForNonLDAP

        public io.jans.as.common.model.common.User ignoreCustomObjectClassesForNonLDAP​(io.jans.as.common.model.common.User user)
      • isLDAP

        public boolean isLDAP()
      • getPersistenceType

        public String getPersistenceType()
      • addUser

        public io.jans.as.common.model.common.User addUser​(io.jans.as.common.model.common.User user,
                                                           boolean active)
      • updateUser

        public io.jans.as.common.model.common.User updateUser​(io.jans.as.common.model.common.User user)
      • verifyCustomAttributes

        public List<io.jans.as.common.model.common.User> verifyCustomAttributes​(List<io.jans.as.common.model.common.User> users)
      • removeInActiveCustomAttribute

        public List<io.jans.orm.model.base.CustomObjectAttribute> removeInActiveCustomAttribute​(List<io.jans.orm.model.base.CustomObjectAttribute> customAttributes)
      • findAttributeByName

        public List<io.jans.model.JansAttribute> findAttributeByName​(String name)
      • validateAttributes

        public void validateAttributes​(List<io.jans.orm.model.base.CustomObjectAttribute> customAttributes)