Class UserService
- java.lang.Object
-
- io.jans.as.common.service.common.UserService
-
- io.jans.configapi.plugin.mgt.service.UserService
-
@ApplicationScoped @Named("userSrv") public class UserService extends io.jans.as.common.service.common.UserService
-
-
Constructor Summary
Constructors Constructor Description UserService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
checkMandatoryFields(io.jans.as.common.model.common.User user, List<String> excludeAttributes)
io.jans.as.common.model.common.User
excludeAttributes(io.jans.as.common.model.common.User user, String commaSeparatedString)
List<io.jans.as.common.model.common.User>
excludeAttributes(List<io.jans.as.common.model.common.User> users, String commaSeparatedString)
String
getPeopleBaseDn()
List<String>
getPersonCustomObjectClassList()
io.jans.as.common.model.common.User
getUserBasedOnInum(String inum)
String
getUserExclusionAttributesAsString()
io.jans.as.common.model.common.User
parseBirthDateAttribute(io.jans.as.common.model.common.User user)
io.jans.as.common.model.common.User
patchUser(String inum, UserPatchRequest userPatchRequest)
void
removeUser(io.jans.as.common.model.common.User user)
io.jans.orm.model.PagedResult<io.jans.as.common.model.common.User>
searchUsers(io.jans.configapi.core.model.SearchRequest searchRequest)
-
Methods inherited from class io.jans.as.common.service.common.UserService
addDefaultUser, addUser, addUserAttribute, addUserAttribute, addUserAttribute, addUserAttribute, addUserAttributeByUserInum, decodeGeneralizedTime, encodeGeneralizedTime, getCustomAttribute, getDnForUser, getUniqueUserByAttributes, getUser, getUserByAttribute, getUserByAttribute, getUserByAttributes, getUserByAttributes, getUserByAttributes, getUserByDn, getUserByInum, getUserInum, getUserInum, getUserInumByDn, getUsersByAttribute, getUsersBySample, getUsersWithPersistentJwts, removeUserAttributeValue, replaceUserAttribute, replaceUserAttribute, setCustomAttribute, updateUser
-
-
-
-
Method Detail
-
getPersonCustomObjectClassList
public List<String> getPersonCustomObjectClassList()
- Specified by:
getPersonCustomObjectClassList
in classio.jans.as.common.service.common.UserService
-
getPeopleBaseDn
public String getPeopleBaseDn()
- Specified by:
getPeopleBaseDn
in classio.jans.as.common.service.common.UserService
-
searchUsers
public io.jans.orm.model.PagedResult<io.jans.as.common.model.common.User> searchUsers(io.jans.configapi.core.model.SearchRequest searchRequest)
-
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)
-
excludeAttributes
public List<io.jans.as.common.model.common.User> excludeAttributes(List<io.jans.as.common.model.common.User> users, String commaSeparatedString) throws IllegalAccessException, InvocationTargetException
-
excludeAttributes
public io.jans.as.common.model.common.User excludeAttributes(io.jans.as.common.model.common.User user, String commaSeparatedString) throws IllegalAccessException, InvocationTargetException
-
getUserExclusionAttributesAsString
public String getUserExclusionAttributesAsString()
-
checkMandatoryFields
public String checkMandatoryFields(io.jans.as.common.model.common.User user, List<String> excludeAttributes) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
-
parseBirthDateAttribute
public io.jans.as.common.model.common.User parseBirthDateAttribute(io.jans.as.common.model.common.User user)
-
-