public interface SecuredPath extends SecuredObject, leap.core.web.RequestMatcher, Comparable<SecuredPath>, leap.lang.Sourced
| 限定符和类型 | 字段和说明 |
|---|---|
static Comparator<SecuredPath> |
COMPARATOR |
| 限定符和类型 | 方法和说明 |
|---|---|
default int |
compareTo(SecuredPath o) |
default Boolean |
getAllowAnonymous()
Returns the allow-anonymous status, may be null.
|
default Boolean |
getAllowClientOnly()
Returns the allow-clientOnly status, may be null.
|
default Boolean |
getAllowRememberMe()
Returns the allow-rememberMe status, may be null.
|
default SecurityFailureHandler |
getFailureHandler()
Optional.
|
leap.lang.path.PathPattern |
getPattern()
Required.
|
default String[] |
getPermissions()
Optional.
|
default String[] |
getRoles()
Optional.
|
default Route |
getRoute()
Optional.
|
default boolean |
isAllowAnonymous()
Returns true if allows anonymous access to the path.
|
default boolean |
isAllowClientOnly()
Return true if allows client-only authentication access to the path.
|
default boolean |
isAllowRememberMe()
Returns true if allows remember-me authentication access to the path.
|
default boolean |
isDenyAnonymous()
Returns true if denys anonymous access to the path.
|
default boolean |
isDenyClientOnly()
Returns true if denys client-only authentication access to the path.
|
default boolean |
isDenyRememberMe()
Returns true if denys remember-me authentication access to the path.
|
default boolean |
matches(leap.core.web.RequestBase request)
Returns true if the path pattern matches the request.
|
default boolean |
matches(String path)
Returns true if the path pattern matches the given path.
|
checkAuthentication, checkAuthorization, tryCheckAuthentication, tryCheckAuthorizationstatic final Comparator<SecuredPath> COMPARATOR
default Route getRoute()
leap.lang.path.PathPattern getPattern()
default Boolean getAllowAnonymous()
default boolean isAllowAnonymous()
getAllowAnonymous() == Boolean.TRUE .default boolean isDenyAnonymous()
getAllowAnonymous() == Boolean.FALSE.default Boolean getAllowClientOnly()
default boolean isAllowClientOnly()
getAllowClientOnly() == Boolean.TRUE.default boolean isDenyClientOnly()
getAllowClientOnly() == Boolean.FALSE.default Boolean getAllowRememberMe()
default boolean isAllowRememberMe()
getAllowRememberMe() == Boolean.TRUE.default boolean isDenyRememberMe()
getAllowRememberMe() == Boolean.FALSE.default String[] getPermissions()
default String[] getRoles()
default SecurityFailureHandler getFailureHandler()
SecurityFailureHandler.default boolean matches(leap.core.web.RequestBase request)
matches 在接口中 leap.core.web.RequestMatcherdefault boolean matches(String path)
default int compareTo(SecuredPath o)
compareTo 在接口中 Comparable<SecuredPath>Copyright © 2019. All rights reserved.