Uses of Class
org.apache.directory.fortress.core.model.Permission
-
Packages that use Permission 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 Permission in org.apache.directory.fortress.core
Methods in org.apache.directory.fortress.core that return Permission Modifier and Type Method Description Permission
AdminMgr. addPermission(Permission perm)
This method will add permission operation to an existing permission object which resides underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgr. addPermission(Permission perm)
This method will add an administrative permission operation to an existing permission object which resides underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
ReviewMgr. readPermission(Permission permission)
This method returns a matching permission entity to caller.Permission
AdminMgr. updatePermission(Permission perm)
This method will update permission operation pre-existing in target directory underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgr. updatePermission(Permission perm)
This method will update administrative permission operation pre-existing in target directory underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Methods in org.apache.directory.fortress.core that return types with arguments of type Permission Modifier and Type Method Description List<Permission>
ReviewMgr. findAnyPermissions(Permission permission)
Method returns a list of Permissions that match any part of the permission object or operation.List<Permission>
ReviewMgr. findPermissions(Permission permission)
Method returns a list of type Permission that match the perm object search string.List<Permission>
ReviewMgr. findPermsByObj(PermObj permObj)
Method returns Permission operations for the provided permission objectList<Permission>
DelReviewMgr. rolePermissions(AdminRole role)
This function returns the set of all ARBAC permissions (op, obj), granted to or inherited by a given ARBAC role.List<Permission>
DelReviewMgr. rolePermissions(AdminRole role, boolean noInheritance)
This function returns the set of all ARBAC permissions (op, obj), granted to or inherited by a given ARBAC role.List<Permission>
ReviewMgr. rolePermissions(Role role)
This function returns the set of all permissions (op, obj), granted to or inherited by a given role.List<Permission>
ReviewMgr. rolePermissions(Role role, boolean noInheritance)
This function returns the set of all permissions (op, obj), granted to or inherited by a given role.List<Permission>
AccelMgr. sessionPermissions(Session session)
This function returns the permissions of the session, i.e., the permissions assigned to its authorized roles.List<Permission>
AccessMgr. sessionPermissions(Session session)
This function returns the permissions of the session, i.e., the permissions assigned to its authorized roles.List<Permission>
DelAccessMgr. sessionPermissions(Session session)
This function returns the ARBAC (administrative) permissions of the session, i.e., the permissions assigned to its authorized admin roles.List<Permission>
ReviewMgr. userPermissions(User user)
This function returns the set of permissions a given user gets through his/her authorized roles.Methods in org.apache.directory.fortress.core with parameters of type Permission Modifier and Type Method Description Permission
AdminMgr. addPermission(Permission perm)
This method will add permission operation to an existing permission object which resides underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgr. addPermission(Permission perm)
This method will add an administrative permission operation to an existing permission object which resides underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Set<String>
ReviewMgr. authorizedPermissionRoles(Permission perm)
Return all role names that have been authorized for a given permission.Set<String>
ReviewMgr. authorizedPermissionUsers(Permission perm)
Return all userIds that have been authorized for a given permission.boolean
DelAccessMgr. canGrant(Session session, Role role, Permission perm)
This function will determine if the user contains an AdminRole that is authorized assignment control over Permission-Role Assignment (PRA).boolean
DelAccessMgr. canRevoke(Session session, Role role, Permission perm)
This function will determine if the user contains an AdminRole that is authorized revoke control over Permission-Role Assignment (PRA).boolean
AccelMgr. checkAccess(Session session, Permission perm)
Perform user RBAC authorization.boolean
AccessMgr. checkAccess(Session session, Permission perm)
Perform user RBAC authorization.boolean
AccessMgr. checkAccess(User user, Permission perm, boolean isTrusted)
Combine createSession and checkAccess into a single method.boolean
DelAccessMgr. checkAccess(Session session, Permission perm)
This function returns a Boolean value meaning whether the subject of a given session is allowed or not to perform a given operation on a given object.void
AdminMgr. deletePermission(Permission perm)
This method will remove permission operation entity from permission object.void
DelAdminMgr. deletePermission(Permission perm)
This method will remove administrative permission operation entity from permission object.List<Permission>
ReviewMgr. findAnyPermissions(Permission permission)
Method returns a list of Permissions that match any part of the permission object or operation.List<Permission>
ReviewMgr. findPermissions(Permission permission)
Method returns a list of type Permission that match the perm object search string.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.void
AdminMgr. grantPermission(Permission perm, Role role)
This command grants a role the permission to perform an operation on an object to a role.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, AdminRole role)
This command grants an AdminRole the administrative 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.List<String>
ReviewMgr. permissionRoles(Permission perm)
Return a list of type String of all roles that have granted a particular permission.List<String>
ReviewMgr. permissionUsers(Permission perm)
Return all userIds that have been granted (directly) a particular permission.Permission
ReviewMgr. readPermission(Permission permission)
This method returns a matching permission entity to caller.void
AdminMgr. revokePermission(Permission perm, Role role)
This command revokes the permission to perform an operation on an object from the set of permissions assigned to a role.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, AdminRole role)
This command revokes the administrative permission to perform an operation on an object from the set of permissions assigned to an AdminRole.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.Permission
AdminMgr. updatePermission(Permission perm)
This method will update permission operation pre-existing in target directory underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgr. updatePermission(Permission perm)
This method will update administrative permission operation pre-existing in target directory underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree. -
Uses of Permission in org.apache.directory.fortress.core.ant
Subclasses of Permission in org.apache.directory.fortress.core.ant Modifier and Type Class Description class
PermAnt
Entity is used by custom Apache Ant task for special handling of collections. -
Uses of Permission in org.apache.directory.fortress.core.cli
Methods in org.apache.directory.fortress.core.cli that return Permission Modifier and Type Method Description Permission
Options. getPermission()
-
Uses of Permission in org.apache.directory.fortress.core.impl
Methods in org.apache.directory.fortress.core.impl that return Permission Modifier and Type Method Description Permission
AdminMgrImpl. addPermission(Permission perm)
This method will add permission operation to an existing permission object which resides underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrImpl. addPermission(Permission perm)
This method will add an administrative permission operation to an existing permission object which resides underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
ReviewMgrImpl. readPermission(Permission permission)
This method returns a matching permission entity to caller.Permission
AdminMgrImpl. updatePermission(Permission perm)
This method will update permission operation pre-existing in target directory underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrImpl. updatePermission(Permission perm)
This method will update administrative permission operation pre-existing in target directory underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Methods in org.apache.directory.fortress.core.impl that return types with arguments of type Permission Modifier and Type Method Description List<Permission>
ReviewMgrImpl. findAnyPermissions(Permission permission)
Method returns a list of Permissions that match any part of the permission object or operation.List<Permission>
ReviewMgrImpl. findPermissions(Permission permission)
Method returns a list of type Permission that match the perm object search string.List<Permission>
ReviewMgrImpl. findPermsByObj(PermObj permObj)
Method returns Permission operations for the provided permission objectList<Permission>
DelReviewMgrImpl. rolePermissions(AdminRole role)
This function returns the set of all ARBAC permissions (op, obj), granted to or inherited by a given ARBAC role.List<Permission>
DelReviewMgrImpl. rolePermissions(AdminRole role, boolean noInheritance)
This function returns the set of all ARBAC permissions (op, obj), granted to or inherited by a given ARBAC role.List<Permission>
ReviewMgrImpl. rolePermissions(Role role)
This function returns the set of all permissions (op, obj), granted to or inherited by a given role.List<Permission>
ReviewMgrImpl. rolePermissions(Role role, boolean noInheritance)
This function returns the set of all permissions (op, obj), granted to or inherited by a given role.List<Permission>
AccelMgrImpl. sessionPermissions(Session session)
This function returns the permissions of the session, i.e., the permissions assigned to its authorized roles.List<Permission>
AccessMgrImpl. sessionPermissions(Session session)
This function returns the permissions of the session, i.e., the permissions assigned to its authorized roles.List<Permission>
DelAccessMgrImpl. sessionPermissions(Session session)
This function returns the permissions of the session, i.e., the permissions assigned to its authorized roles.List<Permission>
ReviewMgrImpl. userPermissions(User user)
This function returns the set of permissions a given user gets through his/her authorized roles.Methods in org.apache.directory.fortress.core.impl with parameters of type Permission Modifier and Type Method Description Permission
AdminMgrImpl. addPermission(Permission perm)
This method will add permission operation to an existing permission object which resides underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrImpl. addPermission(Permission perm)
This method will add an administrative permission operation to an existing permission object which resides underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Set<String>
ReviewMgrImpl. authorizedPermissionRoles(Permission perm)
Return all role names that have been authorized for a given permission.Set<String>
ReviewMgrImpl. authorizedPermissionUsers(Permission perm)
Return all userIds that have been authorized for a given permission.boolean
DelAccessMgrImpl. canGrant(Session session, Role role, Permission perm)
This function will determine if the user contains an AdminRole that is authorized assignment control over Permission-Role Assignment (PRA).boolean
DelAccessMgrImpl. canRevoke(Session session, Role role, Permission perm)
This function will determine if the user contains an AdminRole that is authorized revoke control over Permission-Role Assignment (PRA).boolean
AccelMgrImpl. checkAccess(Session session, Permission perm)
Perform user RBAC authorization.boolean
AccessMgrImpl. checkAccess(Session session, Permission perm)
Perform user RBAC authorization.boolean
AccessMgrImpl. checkAccess(User user, Permission perm, boolean isTrusted)
Combine createSession and checkAccess into a single method.boolean
DelAccessMgrImpl. checkAccess(Session session, Permission perm)
Perform user RBAC authorization.void
AdminMgrImpl. deletePermission(Permission perm)
This method will remove permission operation entity from permission object.void
DelAdminMgrImpl. deletePermission(Permission perm)
This method will remove administrative permission operation entity from permission object.List<Permission>
ReviewMgrImpl. findAnyPermissions(Permission permission)
Method returns a list of Permissions that match any part of the permission object or operation.List<Permission>
ReviewMgrImpl. findPermissions(Permission permission)
Method returns a list of type Permission that match the perm object search string.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.void
AdminMgrImpl. grantPermission(Permission perm, Role role)
This command grants a role the permission to perform an operation on an object to a role.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, AdminRole role)
This command grants an AdminRole the administrative 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.List<String>
ReviewMgrImpl. permissionRoles(Permission perm)
Return a list of type String of all roles that have granted a particular permission.List<String>
ReviewMgrImpl. permissionUsers(Permission perm)
Return all userIds that have been granted (directly) a particular permission.Permission
ReviewMgrImpl. readPermission(Permission permission)
This method returns a matching permission entity to caller.void
AdminMgrImpl. revokePermission(Permission perm, Role role)
This command revokes the permission to perform an operation on an object from the set of permissions assigned to a role.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, AdminRole role)
This command revokes the administrative permission to perform an operation on an object from the set of permissions assigned to an AdminRole.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.Permission
AdminMgrImpl. updatePermission(Permission perm)
This method will update permission operation pre-existing in target directory underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrImpl. updatePermission(Permission perm)
This method will update administrative permission operation pre-existing in target directory underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree. -
Uses of Permission in org.apache.directory.fortress.core.model
Methods in org.apache.directory.fortress.core.model that return Permission Modifier and Type Method Description Permission
ObjectFactory. createPermission()
Create an instance ofPermission
Permission
RolePerm. getPerm()
Methods in org.apache.directory.fortress.core.model that return types with arguments of type Permission Modifier and Type Method Description JAXBElement<Permission>
ObjectFactory. createFortPermission(Permission value)
Methods in org.apache.directory.fortress.core.model with parameters of type Permission Modifier and Type Method Description JAXBElement<Permission>
ObjectFactory. createFortPermission(Permission value)
void
RolePerm. setPerm(Permission perm)
-
Uses of Permission in org.apache.directory.fortress.core.rest
Methods in org.apache.directory.fortress.core.rest that return Permission Modifier and Type Method Description Permission
AdminMgrRestImpl. addPermission(Permission perm)
This method will add permission operation to an existing permission object which resides underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrRestImpl. addPermission(Permission perm)
This method will add an administrative permission operation to an existing permission object which resides underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
ReviewMgrRestImpl. readPermission(Permission permission)
This method returns a matching permission entity to caller.Permission
AdminMgrRestImpl. updatePermission(Permission perm)
This method will update permission operation pre-existing in target directory underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrRestImpl. updatePermission(Permission perm)
This method will update administrative permission operation pre-existing in target directory underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Methods in org.apache.directory.fortress.core.rest that return types with arguments of type Permission Modifier and Type Method Description List<Permission>
ReviewMgrRestImpl. findAnyPermissions(Permission permission)
Method returns a list of Permissions that match any part of the permission object or operation.List<Permission>
ReviewMgrRestImpl. findPermissions(Permission permission)
Method returns a list of type Permission that match the perm object search string.List<Permission>
ReviewMgrRestImpl. findPermsByObj(PermObj permObj)
Method returns Permission operations for the provided permission objectList<Permission>
DelReviewMgrRestImpl. rolePermissions(AdminRole role)
List<Permission>
DelReviewMgrRestImpl. rolePermissions(AdminRole role, boolean noInheritance)
List<Permission>
ReviewMgrRestImpl. rolePermissions(Role role)
This function returns the set of all permissions (op, obj), granted to or inherited by a given role.List<Permission>
ReviewMgrRestImpl. rolePermissions(Role role, boolean noInheritance)
This function returns the set of all permissions (op, obj), granted to or inherited by a given role.List<Permission>
AccessMgrRestImpl. sessionPermissions(Session session)
This function returns the permissions of the session, i.e., the permissions assigned to its authorized roles.List<Permission>
DelAccessMgrRestImpl. sessionPermissions(Session session)
This function returns the permissions of the session, i.e., the permissions assigned to its authorized roles.List<Permission>
ReviewMgrRestImpl. userPermissions(User user)
This function returns the set of permissions a given user gets through his/her authorized roles.Methods in org.apache.directory.fortress.core.rest with parameters of type Permission Modifier and Type Method Description Permission
AdminMgrRestImpl. addPermission(Permission perm)
This method will add permission operation to an existing permission object which resides underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrRestImpl. addPermission(Permission perm)
This method will add an administrative permission operation to an existing permission object which resides underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.Set<String>
ReviewMgrRestImpl. authorizedPermissionRoles(Permission perm)
Return all role names that have been authorized for a given permission.Set<String>
ReviewMgrRestImpl. authorizedPermissionUsers(Permission perm)
Return all userIds that have been authorized for a given permission.boolean
DelAccessMgrRestImpl. canGrant(Session session, Role role, Permission perm)
This function will determine if the user contains an AdminRole that is authorized assignment control over Permission-Role Assignment (PRA).boolean
DelAccessMgrRestImpl. canRevoke(Session session, Role role, Permission perm)
This function will determine if the user contains an AdminRole that is authorized revoke control over Permission-Role Assignment (PRA).boolean
AccessMgrRestImpl. checkAccess(Session session, Permission perm)
Perform user RBAC authorization.boolean
AccessMgrRestImpl. checkAccess(User user, Permission perm, boolean isTrusted)
Combine createSession and checkAccess into a single method.boolean
DelAccessMgrRestImpl. checkAccess(Session session, Permission perm)
Perform user RBAC authorization.void
AdminMgrRestImpl. deletePermission(Permission perm)
This method will remove permission operation entity from permission object.void
DelAdminMgrRestImpl. deletePermission(Permission perm)
This method will remove administrative permission operation entity from permission object.List<Permission>
ReviewMgrRestImpl. findAnyPermissions(Permission permission)
Method returns a list of Permissions that match any part of the permission object or operation.List<Permission>
ReviewMgrRestImpl. findPermissions(Permission permission)
Method returns a list of type Permission that match the perm object search string.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.void
AdminMgrRestImpl. grantPermission(Permission perm, Role role)
This command grants a role the permission to perform an operation on an object to a role.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, AdminRole role)
This command grants an AdminRole the administrative 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.List<String>
ReviewMgrRestImpl. permissionRoles(Permission perm)
Return a list of type String of all roles that have granted a particular permission.List<String>
ReviewMgrRestImpl. permissionUsers(Permission perm)
Return all userIds that have been granted (directly) a particular permission.Permission
ReviewMgrRestImpl. readPermission(Permission permission)
This method returns a matching permission entity to caller.void
AdminMgrRestImpl. revokePermission(Permission perm, Role role)
This command revokes the permission to perform an operation on an object from the set of permissions assigned to a role.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, AdminRole role)
This command revokes the administrative permission to perform an operation on an object from the set of permissions assigned to an AdminRole.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.Permission
AdminMgrRestImpl. updatePermission(Permission perm)
This method will update permission operation pre-existing in target directory underou=Permissions,ou=RBAC,dc=yourHostName,dc=com
container in directory information tree.Permission
DelAdminMgrRestImpl. updatePermission(Permission perm)
This method will update administrative permission operation pre-existing in target directory underou=AdminPerms,ou=ARBAC,dc=yourHostName,dc=com
container in directory information tree.
-