public class AllowAllAuthorizer extends Object implements Authorizer
Constructor and Description |
---|
AllowAllAuthorizer() |
Modifier and Type | Method and Description |
---|---|
Access |
authorize(AuthenticationResult authenticationResult,
Resource resource,
Action action)
Check if the entity represented by
identity is authorized to perform action on resource . |
public Access authorize(AuthenticationResult authenticationResult, Resource resource, Action action)
Authorizer
identity
is authorized to perform action
on resource
.authorize
in interface Authorizer
authenticationResult
- The authentication result of the requestresource
- The resource to be accessedaction
- The action to perform on the resourceCopyright © 2011–2018. All rights reserved.