public class DefaultAuthorizer extends AbstractAuthorizer<Permission>
Authorizer implementation.
This Authorizer never throws exceptions, adopting the following behaviour:
null Authentication is given, always returns falsenull or empty permissions are given, always returns falseAuthentication is not null and is root, always returns
truePermission.equals(Object) to compare a single permission to another| Constructor and Description |
|---|
DefaultAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Permission> |
getPermissionType()
Get supported
Permission type |
isPermitted, isPermitted, isPermitted, isPermittedAny, isPermittedAny, isPermittedAnyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic Class<? extends Permission> getPermissionType()
AuthorizerPermission typePermission typeCopyright © 2019 The Holon Platform. All rights reserved.