public class DefaultAuthorizationManager extends Object implements AuthorizationManager
| 限定符和类型 | 字段和说明 |
|---|---|
protected AuthorizationChecker[] |
checkers |
protected SecurityConfig |
config |
protected static leap.core.security.Authorization |
EMPTY_AUTHZ |
protected AuthorizationResolver[] |
resolvers |
| 构造器和说明 |
|---|
DefaultAuthorizationManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkAuthorization(Request request,
Response response,
AuthorizationContext context) |
leap.core.security.Authorization |
resolveAuthorization(Request request,
Response response,
AuthorizationContext context) |
protected static final leap.core.security.Authorization EMPTY_AUTHZ
protected SecurityConfig config
protected AuthorizationResolver[] resolvers
protected AuthorizationChecker[] checkers
public leap.core.security.Authorization resolveAuthorization(Request request, Response response, AuthorizationContext context) throws Throwable
resolveAuthorization 在接口中 AuthorizationManagerThrowablepublic boolean checkAuthorization(Request request, Response response, AuthorizationContext context) throws Throwable
checkAuthorization 在接口中 AuthorizationManagerThrowableCopyright © 2019. All rights reserved.