public interface AuthorizationService
Modifier and Type | Method and Description |
---|---|
void |
deletePolicyByGroup(org.jboss.errai.security.shared.api.Group group,
AuthorizationPolicy policy)
Deletes the group from
AuthorizationPolicy instance stored in the backend |
AuthorizationPolicy |
loadPolicy()
Retrieves the current
AuthorizationPolicy instance from the backend storage. |
void |
savePolicy(AuthorizationPolicy policy)
Overwrites the content of the
AuthorizationPolicy instance stored in the backend
by the contents of the instance passed as a parameter. |
AuthorizationPolicy loadPolicy()
AuthorizationPolicy
instance from the backend storage.AuthorizationPolicy
instancevoid savePolicy(AuthorizationPolicy policy)
AuthorizationPolicy
instance stored in the backend
by the contents of the instance passed as a parameter.policy
- The authorization policy to storevoid deletePolicyByGroup(org.jboss.errai.security.shared.api.Group group, AuthorizationPolicy policy)
AuthorizationPolicy
instance stored in the backendpolicy
- The authorization policy to storegroup
- Group instanceCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.