public interface AuthorizationPolicyStorage
Modifier and Type | Method and Description |
---|---|
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
instance or null if no policy exists.void savePolicy(AuthorizationPolicy policy)
AuthorizationPolicy
instance stored in the backend
by the contents of the instance passed as a parameter.policy
- The authorization policy to storeCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.