public class UpdatingPermissionManagerImpl extends PermissionManagerImpl implements org.apereo.portal.security.IUpdatingPermissionManager
| Constructor and Description |
|---|
UpdatingPermissionManagerImpl(java.lang.String newOwner,
AuthorizationImpl authService)
This constructor ensures that the PermissionManager will be created with an owner specified
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPermissions(org.apereo.portal.security.IPermission[] newPermissions)
Add a new set of IPermission objects to the system.
|
org.apereo.portal.security.IPermission |
newPermission(org.apereo.portal.security.IAuthorizationPrincipal principal)
Creates a new
IPermission for the principal on behalf of the owner
of this IPermissionManager. |
void |
removePermissions(org.apereo.portal.security.IPermission[] oldPermissions)
Remove set of IPermission objects from the system.
|
void |
updatePermissions(org.apereo.portal.security.IPermission[] changedPermissions)
Update a set of IPermission objects to the system.
|
getAuthorizedPrincipals, getOwner, getPermissions, getPermissionsForTargetpublic UpdatingPermissionManagerImpl(java.lang.String newOwner,
AuthorizationImpl authService)
newOwner - the new ownerauthService - the authorization servicepublic void addPermissions(org.apereo.portal.security.IPermission[] newPermissions)
throws org.apereo.portal.AuthorizationException
addPermissions in interface org.apereo.portal.security.IUpdatingPermissionManagernewPermissions - org.apereo.portal.AuthorizationExceptionpublic org.apereo.portal.security.IPermission newPermission(org.apereo.portal.security.IAuthorizationPrincipal principal)
throws org.apereo.portal.AuthorizationException
IPermission for the principal on behalf of the owner
of this IPermissionManager.newPermission in interface org.apereo.portal.security.IUpdatingPermissionManagerprincipal - IAuthorizationPrincipalorg.apereo.portal.AuthorizationExceptionpublic void removePermissions(org.apereo.portal.security.IPermission[] oldPermissions)
throws org.apereo.portal.AuthorizationException
removePermissions in interface org.apereo.portal.security.IUpdatingPermissionManageroldPermissions - org.apereo.portal.AuthorizationExceptionpublic void updatePermissions(org.apereo.portal.security.IPermission[] changedPermissions)
throws org.apereo.portal.AuthorizationException
updatePermissions in interface org.apereo.portal.security.IUpdatingPermissionManagerchangedPermissions - org.apereo.portal.AuthorizationException