public interface Authority
| Modifier and Type | Method and Description |
|---|---|
AuthorizationRequest |
authorize(AuthorizationRequest request)
Authorize an
AuthorizationRequest. |
boolean |
canAuthorize(AuthorizationRequest request)
Indicates weather this Authority can authorize a certain request
|
boolean canAuthorize(AuthorizationRequest request)
request - The request to authorizeAuthorizationRequest authorize(AuthorizationRequest request)
AuthorizationRequest.request - The AuthorizationRequestcanAuthorize(AuthorizationRequest) returns true for the
AuthorizationRequest, otherwise returns null.
canAuthorize(AuthorizationRequest) should always be checked before
calling this method.Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.