Uses of Class
org.apache.directory.fortress.core.model.User
-
Packages that use User Package Description org.apache.directory.fortress.core This package contains public APIs that are used by Java programs to provide Access Management functionality.org.apache.directory.fortress.core.ant This package use Apache Ant to provide utility to provision fortress entities and policies using XML files.org.apache.directory.fortress.core.cli Click here for Reference Manual which shows how the Command Line Interpreter drives the Fortress APIs from a command prompt.org.apache.directory.fortress.core.impl This package contains the fortress implementation classes for data persistence with the LDAP server.org.apache.directory.fortress.core.model The data entities in this package comprise the fortress data model.org.apache.directory.fortress.core.rest This package uses Commons HTTP to provide HTTP functionality that is reused across several components in this package. -
-
Uses of User in org.apache.directory.fortress.core
Methods in org.apache.directory.fortress.core that return User Modifier and Type Method Description User
AdminMgr. addUser(User user)
This command creates a new RBAC user.User
AccessMgr. getUser(Session session)
This function returns the user object that is contained within the session object.User
ReviewMgr. readUser(User user)
Method returns matching User entity that is contained within the people container in the directory.User
AdminMgr. updateUser(User user)
This method performs an update on User entity in directory.Methods in org.apache.directory.fortress.core that return types with arguments of type User Modifier and Type Method Description List<User>
DelReviewMgr. assignedUsers(AdminRole role)
This method returns the data set of all users who are assigned the given admin role.List<User>
ReviewMgr. assignedUsers(Role role)
This method returns the data set of all users who are assigned the given role.List<User>
ReviewMgr. assignedUsers(Role role, RoleConstraint roleConstraint)
This method returns the data set of all users who are assigned the given role.List<User>
ReviewMgr. authorizedUsers(Role role)
This function returns the set of users authorized to a given role, i.e., the users that are assigned to a role that inherits the given role.List<User>
ReviewMgr. findUsers(OrgUnit ou)
Return a list of type User of all users in the people container that match the name field passed in OrgUnit entity.List<User>
ReviewMgr. findUsers(User user)
Return a list of type User of all users in the people container that match all or part of the User#userId field passed in User entity.Methods in org.apache.directory.fortress.core with parameters of type User Modifier and Type Method Description User
AdminMgr. addUser(User user)
This command creates a new RBAC user.List<UserAdminRole>
DelReviewMgr. assignedRoles(User user)
This function returns the set of admin roles assigned to a given user.List<UserRole>
ReviewMgr. assignedRoles(User user)
This function returns the set of roles assigned to a given user.Set<String>
ReviewMgr. authorizedRoles(User user)
This function returns the set of roles authorized for a given user.boolean
DelAccessMgr. canAdd(Session session, User user)
This function will determine if the user contains an AdminRole that is authorized to add a new User.boolean
DelAccessMgr. canAssign(Session session, User user, Role role)
This function will determine if the user contains an AdminRole that is authorized assignment control over User-Role Assignment (URA).boolean
DelAccessMgr. canDeassign(Session session, User user, Role role)
This function will determine if the user contains an AdminRole that is authorized revoke control over User-Role Assignment (URA).boolean
DelAccessMgr. canEdit(Session session, User user)
This function will determine if the user contains an AdminRole that is authorized update/delete control over User.void
AdminMgr. changePassword(User user, String newPassword)
Method will change user's password.boolean
AccessMgr. checkAccess(User user, Permission perm, boolean isTrusted)
Combine createSession and checkAccess into a single method.Session
AccelMgr. createSession(User user, boolean isTrusted)
Perform user authentication User#password and role activations.Session
AccessMgr. createSession(User user, boolean isTrusted)
Perform user authenticationpassword
and role activations.
This method must be called once per user prior to calling other methods within this class.Session
AccessMgr. createSession(User user, List<RoleConstraint> constraints, boolean isTrusted)
Same asAccessMgr.createSession( User user, boolean isTrusted )
Plus constraint which places attribute key:value, e.g.void
AdminMgr. deletePasswordPolicy(User user)
Method will delete user's password policy designation.void
AdminMgr. deleteUser(User user)
This command deletes an existing user from the RBAC database.void
AdminMgr. disableUser(User user)
This command deletes an existing user from the RBAC database.List<Group>
GroupMgr. find(User user)
Search for groups by userId.List<RoleConstraint>
ReviewMgr. findRoleConstraints(User user, Permission permission, RoleConstraint.RCType rcType)
Find all of the role constraints for the given user and permission attribute set.List<User>
ReviewMgr. findUsers(User user)
Return a list of type User of all users in the people container that match all or part of the User#userId field passed in User entity.List<String>
ReviewMgr. findUsers(User user, int limit)
Return a list of type String of all users in the people container that match the userId field passed in User entity.void
AdminMgr. grantPermission(Permission perm, User user)
This command grants a user the permission to perform an operation on an object to a role.void
DelAdminMgr. grantPermission(Permission perm, User user)
This command grants a user the administrative permission to perform an operation on an object to a user.boolean
AccessMgr. isUserInRole(User user, Role role, boolean isTrusted)
Combine createSession and a role check into a single method.void
AdminMgr. lockUserAccount(User user)
Method will lock user's password which will prevent the user from authenticating with directory.User
ReviewMgr. readUser(User user)
Method returns matching User entity that is contained within the people container in the directory.void
AdminMgr. resetPassword(User user, String newPassword)
Method will reset user's password which will require user to change password before successful authentication with directory.void
AdminMgr. revokePermission(Permission perm, User user)
This command revokes the permission to perform an operation on an object from the set of permissions assigned to a user.void
DelAdminMgr. revokePermission(Permission perm, User user)
This command revokes the administrative permission to perform an operation on an object from the set of permissions assigned to a user.void
AdminMgr. unlockUserAccount(User user)
Method will unlock user's password which will enable user to authenticate with directory.User
AdminMgr. updateUser(User user)
This method performs an update on User entity in directory.List<Permission>
ReviewMgr. userPermissions(User user)
This function returns the set of permissions a given user gets through his/her authorized roles. -
Uses of User in org.apache.directory.fortress.core.ant
Subclasses of User in org.apache.directory.fortress.core.ant Modifier and Type Class Description class
UserAnt
Entity is used by custom Apache Ant task for special handling of collections. -
Uses of User in org.apache.directory.fortress.core.cli
Methods in org.apache.directory.fortress.core.cli that return User Modifier and Type Method Description User
Options. getUser()
-
Uses of User in org.apache.directory.fortress.core.impl
Methods in org.apache.directory.fortress.core.impl that return User Modifier and Type Method Description User
AdminMgrImpl. addUser(User user)
This command creates a new RBAC user.User
AccessMgrImpl. getUser(Session session)
This function returns the user object that is contained within the session object.User
ReviewMgrImpl. readUser(User user)
Method returns matching User entity that is contained within the people container in the directory.User
AdminMgrImpl. updateUser(User user)
This method performs an update on User entity in directory.Methods in org.apache.directory.fortress.core.impl that return types with arguments of type User Modifier and Type Method Description List<User>
DelReviewMgrImpl. assignedUsers(AdminRole role)
This method returns the data set of all users who are assigned the given admin role.List<User>
ReviewMgrImpl. assignedUsers(Role role)
This method returns the data set of all users who are assigned the given role.List<User>
ReviewMgrImpl. assignedUsers(Role role, RoleConstraint roleConstraint)
This method returns the data set of all users who are assigned the given role.List<User>
ReviewMgrImpl. authorizedUsers(Role role)
This function returns the set of users authorized to a given role, i.e., the users that are assigned to a role that inherits the given role.List<User>
ReviewMgrImpl. findUsers(OrgUnit ou)
Return a list of type User of all users in the people container that match the name field passed in OrgUnit entity.List<User>
ReviewMgrImpl. findUsers(User user)
Return a list of type User of all users in the people container that match all or part of the User#userId field passed in User entity.Methods in org.apache.directory.fortress.core.impl with parameters of type User Modifier and Type Method Description User
AdminMgrImpl. addUser(User user)
This command creates a new RBAC user.List<UserAdminRole>
DelReviewMgrImpl. assignedRoles(User user)
This function returns the set of admin roles assigned to a given user.List<UserRole>
ReviewMgrImpl. assignedRoles(User user)
This function returns the set of roles assigned to a given user.Set<String>
ReviewMgrImpl. authorizedRoles(User user)
This function returns the set of roles authorized for a given user.boolean
DelAccessMgrImpl. canAdd(Session session, User user)
This function will determine if the user contains an AdminRole that is authorized to add a new User.boolean
DelAccessMgrImpl. canAssign(Session session, User user, Role role)
This function will determine if the user contains an AdminRole that is authorized assignment control over User-Role Assignment (URA).boolean
DelAccessMgrImpl. canDeassign(Session session, User user, Role role)
This function will determine if the user contains an AdminRole that is authorized revoke control over User-Role Assignment (URA).boolean
DelAccessMgrImpl. canEdit(Session session, User user)
This function will determine if the user contains an AdminRole that is authorized update/delete control over User.void
AdminMgrImpl. changePassword(User user, String newPassword)
Method will change user's password.boolean
AccessMgrImpl. checkAccess(User user, Permission perm, boolean isTrusted)
Combine createSession and checkAccess into a single method.Session
AccelMgrImpl. createSession(User user, boolean isTrusted)
Perform user authentication User#password and role activations.Session
AccessMgrImpl. createSession(User user, boolean isTrusted)
Perform user authenticationpassword
and role activations.
This method must be called once per user prior to calling other methods within this class.Session
AccessMgrImpl. createSession(User user, List<RoleConstraint> constraints, boolean isTrusted)
Same asAccessMgr.createSession( User user, boolean isTrusted )
Plus constraint which places attribute key:value, e.g.void
AdminMgrImpl. deletePasswordPolicy(User user)
Method will delete user's password policy designation.void
AdminMgrImpl. deleteUser(User user)
This command deletes an existing user from the RBAC database.void
AdminMgrImpl. disableUser(User user)
This command deletes an existing user from the RBAC database.List<Group>
GroupMgrImpl. find(User user)
Search for groups by userId.List<RoleConstraint>
ReviewMgrImpl. findRoleConstraints(User user, Permission permission, RoleConstraint.RCType rcType)
Find all of the role constraints for the given user and permission attribute set.List<User>
ReviewMgrImpl. findUsers(User user)
Return a list of type User of all users in the people container that match all or part of the User#userId field passed in User entity.List<String>
ReviewMgrImpl. findUsers(User user, int limit)
Return a list of type String of all users in the people container that match the userId field passed in User entity.void
AdminMgrImpl. grantPermission(Permission perm, User user)
This command grants a user the permission to perform an operation on an object to a role.void
DelAdminMgrImpl. grantPermission(Permission perm, User user)
This command grants a user the administrative permission to perform an operation on an object to a user.boolean
AccessMgrImpl. isUserInRole(User user, Role role, boolean isTrusted)
Combine createSession and a role check into a single method.void
AdminMgrImpl. lockUserAccount(User user)
Method will lock user's password which will prevent the user from authenticating with directory.User
ReviewMgrImpl. readUser(User user)
Method returns matching User entity that is contained within the people container in the directory.void
AdminMgrImpl. resetPassword(User user, String newPassword)
Method will reset user's password which will require user to change password before successful authentication with directory.void
AdminMgrImpl. revokePermission(Permission perm, User user)
This command revokes the permission to perform an operation on an object from the set of permissions assigned to a user.void
DelAdminMgrImpl. revokePermission(Permission perm, User user)
This command revokes the administrative permission to perform an operation on an object from the set of permissions assigned to a user.void
AdminMgrImpl. unlockUserAccount(User user)
Method will unlock user's password which will enable user to authenticate with directory.User
AdminMgrImpl. updateUser(User user)
This method performs an update on User entity in directory.List<Permission>
ReviewMgrImpl. userPermissions(User user)
This function returns the set of permissions a given user gets through his/her authorized roles. -
Uses of User in org.apache.directory.fortress.core.model
Methods in org.apache.directory.fortress.core.model that return User Modifier and Type Method Description User
ObjectFactory. createUser()
Create an instance ofUser
User
Session. getUser()
Return the User entity that is associated with this entity.Methods in org.apache.directory.fortress.core.model that return types with arguments of type User Modifier and Type Method Description jakarta.xml.bind.JAXBElement<User>
ObjectFactory. createFortUser(User value)
Methods in org.apache.directory.fortress.core.model with parameters of type User Modifier and Type Method Description jakarta.xml.bind.JAXBElement<User>
ObjectFactory. createFortUser(User value)
void
Session. setUser(User user)
Set a User entity into the Session.Constructors in org.apache.directory.fortress.core.model with parameters of type User Constructor Description Session(User user)
Construct a new Session instance with given User entity.Session(User user, String sessionId)
Construct a new Session instance with given User entity. -
Uses of User in org.apache.directory.fortress.core.rest
Methods in org.apache.directory.fortress.core.rest that return User Modifier and Type Method Description User
AdminMgrRestImpl. addUser(User user)
This command creates a new RBAC user.User
AccessMgrRestImpl. getUser(Session session)
This function returns the user object that is contained within the session object.User
ReviewMgrRestImpl. readUser(User user)
Method returns matching User entity that is contained within the people container in the directory.User
AdminMgrRestImpl. updateUser(User user)
This method performs an update on User entity in directory.Methods in org.apache.directory.fortress.core.rest that return types with arguments of type User Modifier and Type Method Description List<User>
DelReviewMgrRestImpl. assignedUsers(AdminRole role)
This method returns the data set of all users who are assigned the given admin role.List<User>
ReviewMgrRestImpl. assignedUsers(Role role)
This method returns the data set of all users who are assigned the given role.List<User>
ReviewMgrRestImpl. assignedUsers(Role role, RoleConstraint roleConstraint)
List<User>
ReviewMgrRestImpl. authorizedUsers(Role role)
This function returns the set of users authorized to a given role, i.e., the users that are assigned to a role that inherits the given role.List<User>
ReviewMgrRestImpl. findUsers(OrgUnit ou)
Return a list of type User of all users in the people container that match the name field passed in OrgUnit entity.List<User>
ReviewMgrRestImpl. findUsers(User user)
Return a list of type User of all users in the people container that match all or part of the User#userId field passed in User entity.Methods in org.apache.directory.fortress.core.rest with parameters of type User Modifier and Type Method Description User
AdminMgrRestImpl. addUser(User user)
This command creates a new RBAC user.List<UserAdminRole>
DelReviewMgrRestImpl. assignedRoles(User user)
This function returns the set of admin roles assigned to a given user.List<UserRole>
ReviewMgrRestImpl. assignedRoles(User user)
This function returns the set of roles assigned to a given user.Set<String>
ReviewMgrRestImpl. authorizedRoles(User user)
This function returns the set of roles authorized for a given user.boolean
DelAccessMgrRestImpl. canAdd(Session session, User user)
This function will determine if the user contains an AdminRole that is authorized to add a new User.boolean
DelAccessMgrRestImpl. canAssign(Session session, User user, Role role)
This function will determine if the user contains an AdminRole that is authorized assignment control over User-Role Assignment (URA).boolean
DelAccessMgrRestImpl. canDeassign(Session session, User user, Role role)
This function will determine if the user contains an AdminRole that is authorized revoke control over User-Role Assignment (URA).boolean
DelAccessMgrRestImpl. canEdit(Session session, User user)
This function will determine if the user contains an AdminRole that is authorized update/delete control over User.void
AdminMgrRestImpl. changePassword(User user, String newPassword)
Method will change user's password.boolean
AccessMgrRestImpl. checkAccess(User user, Permission perm, boolean isTrusted)
Combine createSession and checkAccess into a single method.Session
AccessMgrRestImpl. createSession(User user, boolean isTrusted)
Perform user authenticationpassword
and role activations.
This method must be called once per user prior to calling other methods within this class.Session
AccessMgrRestImpl. createSession(User user, List<RoleConstraint> constraints, boolean isTrusted)
Same asAccessMgr.createSession( User user, boolean isTrusted )
Plus constraint which places attribute key:value, e.g.void
AdminMgrRestImpl. deletePasswordPolicy(User user)
Method will delete user's password policy designation.void
AdminMgrRestImpl. deleteUser(User user)
This command deletes an existing user from the RBAC database.void
AdminMgrRestImpl. disableUser(User user)
This command deletes an existing user from the RBAC database.List<Group>
GroupMgrRestImpl. find(User user)
Search for groups by userId.List<RoleConstraint>
ReviewMgrRestImpl. findRoleConstraints(User user, Permission permission, RoleConstraint.RCType rcType)
Find all of the role constraints for the given user and permission attribute set.List<User>
ReviewMgrRestImpl. findUsers(User user)
Return a list of type User of all users in the people container that match all or part of the User#userId field passed in User entity.List<String>
ReviewMgrRestImpl. findUsers(User user, int limit)
Return a list of type String of all users in the people container that match the userId field passed in User entity.void
AdminMgrRestImpl. grantPermission(Permission perm, User user)
This command grants a user the permission to perform an operation on an object to a role.void
DelAdminMgrRestImpl. grantPermission(Permission perm, User user)
This command grants a user the administrative permission to perform an operation on an object to a user.boolean
AccessMgrRestImpl. isUserInRole(User user, Role role, boolean isTrusted)
Combine createSession and a role check into a single method.void
AdminMgrRestImpl. lockUserAccount(User user)
Method will lock user's password which will prevent the user from authenticating with directory.User
ReviewMgrRestImpl. readUser(User user)
Method returns matching User entity that is contained within the people container in the directory.void
AdminMgrRestImpl. resetPassword(User user, String newPassword)
Method will reset user's password which will require user to change password before successful authentication with directory.void
AdminMgrRestImpl. revokePermission(Permission perm, User user)
This command revokes the permission to perform an operation on an object from the set of permissions assigned to a user.void
DelAdminMgrRestImpl. revokePermission(Permission perm, User user)
This command revokes the administrative permission to perform an operation on an object from the set of permissions assigned to a user.void
AdminMgrRestImpl. unlockUserAccount(User user)
Method will unlock user's password which will enable user to authenticate with directory.User
AdminMgrRestImpl. updateUser(User user)
This method performs an update on User entity in directory.List<Permission>
ReviewMgrRestImpl. userPermissions(User user)
This function returns the set of permissions a given user gets through his/her authorized roles.
-