Uses of Class
org.apache.directory.fortress.core.model.UserRole
-
Packages that use UserRole 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.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 UserRole in org.apache.directory.fortress.core
Methods in org.apache.directory.fortress.core that return types with arguments of type UserRole Modifier and Type Method Description List<UserRole>
ReviewMgr. assignedRoles(User user)
This function returns the set of roles assigned to a given user.List<UserRole>
ReviewMgr. assignedUsers(Role role, RoleConstraint.RCType rcType, String paSetName)
This method returns the user roles for all users who have the given role, with a specified constraint type and permission attribute set name.List<UserRole>
GroupMgr. groupRoles(Group group)
Read an existing group node's roles.List<UserRole>
AccelMgr. sessionRoles(Session session)
This function returns the active roles associated with a session.List<UserRole>
AccessMgr. sessionRoles(Session session)
This function returns the active roles associated with a session.Methods in org.apache.directory.fortress.core with parameters of type UserRole Modifier and Type Method Description void
AccelMgr. addActiveRole(Session session, UserRole role)
This function adds a role as an active role of a session whose owner is a given user.void
AccessMgr. addActiveRole(Session session, UserRole role)
This function adds a role as an active role of a session whose owner is a given user.RoleConstraint
AdminMgr. addRoleConstraint(UserRole uRole, RoleConstraint roleConstraint)
This method adds a roleConstraint (ftRC) to the user ldap entry.void
AdminMgr. assignUser(UserRole uRole)
This command assigns a user to a role.void
AdminMgr. deassignUser(UserRole uRole)
This command deletes the assignment of the User from the Role entities.void
AccelMgr. dropActiveRole(Session session, UserRole role)
This function deletes a role from the active role set of a session owned by a given user.void
AccessMgr. dropActiveRole(Session session, UserRole role)
This function deletes a role from the active role set of a session owned by a given user.void
AdminMgr. removeRoleConstraint(UserRole uRole, String roleConstraintId)
Thie method removes a roleConstraint (ftRC) from the user ldap entry.void
AdminMgr. removeRoleConstraint(UserRole uRole, RoleConstraint roleConstraint)
Thie method removes a roleConstraint (ftRC) from the user ldap entry. -
Uses of UserRole in org.apache.directory.fortress.core.ant
Methods in org.apache.directory.fortress.core.ant that return types with arguments of type UserRole Modifier and Type Method Description List<UserRole>
Adduserrole. getUserRoles()
Used byFortressAntTask.addUserRoles()
to retrieve list of UserRoles as defined in input xml file.List<UserRole>
Deluserrole. getUserRoles()
Used byFortressAntTask.delUserRoles()
to retrieve list of UserRoles as defined in input xml file.Methods in org.apache.directory.fortress.core.ant with parameters of type UserRole Modifier and Type Method Description void
Adduserrole. addUserRole(UserRole userRole)
This method name, 'addUserRole', is used for derived xml tag 'userrole' in the load script.void
Deluserrole. addUserRole(UserRole userRole)
This method name, 'addUserRole', is used for derived xml tag 'userrole' in the load script. -
Uses of UserRole in org.apache.directory.fortress.core.impl
Methods in org.apache.directory.fortress.core.impl that return types with arguments of type UserRole Modifier and Type Method Description List<UserRole>
ReviewMgrImpl. assignedRoles(User user)
This function returns the set of roles assigned to a given user.List<UserRole>
ReviewMgrImpl. assignedUsers(Role role, RoleConstraint.RCType rcType, String keyName)
This method returns the user roles for all users who have the given role, with a specified constraint type and permission attribute set name.List<UserRole>
GroupMgrImpl. groupRoles(Group group)
Read an existing group node's roles.List<UserRole>
AccelMgrImpl. sessionRoles(Session session)
This function returns the active roles associated with a session.List<UserRole>
AccessMgrImpl. sessionRoles(Session session)
This function returns the active roles associated with a session.Methods in org.apache.directory.fortress.core.impl with parameters of type UserRole Modifier and Type Method Description void
AccelMgrImpl. addActiveRole(Session session, UserRole role)
This function adds a role as an active role of a session whose owner is a given user.void
AccessMgrImpl. addActiveRole(Session session, UserRole role)
This function adds a role as an active role of a session whose owner is a given user.RoleConstraint
AdminMgrImpl. addRoleConstraint(UserRole uRole, RoleConstraint roleConstraint)
This method adds a roleConstraint (ftRC) to the user ldap entry.void
AdminMgrImpl. assignUser(UserRole uRole)
This command assigns a user to a role.void
AdminMgrImpl. deassignUser(UserRole uRole)
This command deletes the assignment of the User from the Role entities.void
AccelMgrImpl. dropActiveRole(Session session, UserRole role)
This function deletes a role from the active role set of a session owned by a given user.void
AccessMgrImpl. dropActiveRole(Session session, UserRole role)
This function deletes a role from the active role set of a session owned by a given user.void
AdminMgrImpl. removeRoleConstraint(UserRole uRole, String roleConstraintId)
Thie method removes a roleConstraint (ftRC) from the user ldap entry.void
AdminMgrImpl. removeRoleConstraint(UserRole uRole, RoleConstraint roleConstraint)
Thie method removes a roleConstraint (ftRC) from the user ldap entry. -
Uses of UserRole in org.apache.directory.fortress.core.model
Subclasses of UserRole in org.apache.directory.fortress.core.model Modifier and Type Class Description class
UserAdminRole
The UserAdminRole entity extends the UserRole and is used to store ARBAC User to AdminRole assignment along with temporal and ARBAC contraint values.Methods in org.apache.directory.fortress.core.model that return UserRole Modifier and Type Method Description UserRole
ObjectFactory. createUserRole()
Create an instance ofUserRole
Methods in org.apache.directory.fortress.core.model that return types with arguments of type UserRole Modifier and Type Method Description JAXBElement<UserRole>
ObjectFactory. createFortUserRole(UserRole value)
List<UserRole>
Group. getRoles()
List of roles for given groups if they were populated.List<UserRole>
Session. getRoles()
Return the list of User's RBAC Roles that have been activated into User's or Group's session.List<UserRole>
User. getRoles()
Return a list of User's RBAC Roles.Methods in org.apache.directory.fortress.core.model with parameters of type UserRole Modifier and Type Method Description JAXBElement<UserRole>
ObjectFactory. createFortUserRole(UserRole value)
void
User. delRole(UserRole role)
Removes a user-role object from the list of UserRoles.String
RoleConstraint. getRawData(UserRole uRole)
This is the actual value of data stored in the LDAP attribute ftRC.void
Session. setRole(UserRole role)
Add a single user-role object to the list of UserRoles for User.void
User. setRole(UserRole role)
Add a single user-role object to the list of UserRoles for User.Method parameters in org.apache.directory.fortress.core.model with type arguments of type UserRole Modifier and Type Method Description void
Group. setRoles(List<UserRole> roles)
Setter for auxiliary 'roles' field.void
Session. setRoles(List<UserRole> roles)
Add a list of RBAC Roles to this entity that have been activated into Session or are under consideration for activation.void
User. setRoles(List<UserRole> roles)
Add a list of RBAC Roles to this entity be considered for later processing: AccessMgr (user-role activation) or AdminMgr (user-role assignment). -
Uses of UserRole in org.apache.directory.fortress.core.rest
Methods in org.apache.directory.fortress.core.rest that return types with arguments of type UserRole Modifier and Type Method Description List<UserRole>
ReviewMgrRestImpl. assignedRoles(User user)
This function returns the set of roles assigned to a given user.List<UserRole>
ReviewMgrRestImpl. assignedUsers(Role role, RoleConstraint.RCType rcType, String key)
List<UserRole>
GroupMgrRestImpl. groupRoles(Group group)
Read an existing group node's roles.List<UserRole>
AccessMgrRestImpl. sessionRoles(Session session)
This function returns the active roles associated with a session.Methods in org.apache.directory.fortress.core.rest with parameters of type UserRole Modifier and Type Method Description void
AccessMgrRestImpl. addActiveRole(Session session, UserRole role)
This function adds a role as an active role of a session whose owner is a given user.RoleConstraint
AdminMgrRestImpl. addRoleConstraint(UserRole uRole, RoleConstraint roleConstraint)
This method adds a roleConstraint (ftRC) to the user ldap entry.void
AdminMgrRestImpl. assignUser(UserRole uRole)
This command assigns a user to a role.void
AdminMgrRestImpl. deassignUser(UserRole uRole)
This command deletes the assignment of the User from the Role entities.void
AccessMgrRestImpl. dropActiveRole(Session session, UserRole role)
This function deletes a role from the active role set of a session owned by a given user.void
AdminMgrRestImpl. removeRoleConstraint(UserRole uRole, String roleConstraintId)
Thie method removes a roleConstraint (ftRC) from the user ldap entry.void
AdminMgrRestImpl. removeRoleConstraint(UserRole uRole, RoleConstraint roleConstraint)
Thie method removes a roleConstraint (ftRC) from the user ldap entry.
-