public class SecuredRoute extends SecuredObjectBase implements SecuredPath
COMPARATOR| 构造器和说明 |
|---|
SecuredRoute(Route route) |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getAllowAnonymous()
Returns the allow-anonymous status, may be null.
|
Boolean |
getAllowClientOnly()
Returns the allow-clientOnly status, may be null.
|
Boolean |
getAllowRememberMe()
Returns the allow-rememberMe status, may be null.
|
protected String |
getAuthenticationDenyMessage(leap.core.security.Authentication authc,
leap.core.security.SimpleSecurity[] securities) |
protected String |
getAuthorizationDenyMessage(leap.core.security.Authentication authc,
leap.core.security.SimpleSecurity[] securities) |
leap.lang.path.PathPattern |
getPattern()
Required.
|
String[] |
getPermissions()
Optional.
|
String[] |
getRoles()
Optional.
|
Route |
getRoute()
Optional.
|
Object |
getSource() |
String |
toString() |
Boolean |
tryCheckAuthentication(SecurityContextHolder context) |
Boolean |
tryCheckAuthorization(SecurityContextHolder context) |
checkPermissions, checkRolesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTo, getFailureHandler, isAllowAnonymous, isAllowClientOnly, isAllowRememberMe, isDenyAnonymous, isDenyClientOnly, isDenyRememberMe, matches, matchescheckAuthentication, checkAuthorizationpublic SecuredRoute(Route route)
public Object getSource()
getSource 在接口中 leap.lang.Sourcedpublic Route getRoute()
SecuredPathgetRoute 在接口中 SecuredPathpublic leap.lang.path.PathPattern getPattern()
SecuredPathgetPattern 在接口中 SecuredPathpublic Boolean getAllowAnonymous()
SecuredPathgetAllowAnonymous 在接口中 SecuredPathpublic Boolean getAllowRememberMe()
SecuredPathgetAllowRememberMe 在接口中 SecuredPathpublic Boolean getAllowClientOnly()
SecuredPathgetAllowClientOnly 在接口中 SecuredPathpublic String[] getPermissions()
SecuredPathgetPermissions 在接口中 SecuredPathpublic String[] getRoles()
SecuredPathgetRoles 在接口中 SecuredPathpublic Boolean tryCheckAuthentication(SecurityContextHolder context)
tryCheckAuthentication 在接口中 SecuredObjectpublic Boolean tryCheckAuthorization(SecurityContextHolder context)
tryCheckAuthorization 在接口中 SecuredObjectprotected String getAuthenticationDenyMessage(leap.core.security.Authentication authc, leap.core.security.SimpleSecurity[] securities)
protected String getAuthorizationDenyMessage(leap.core.security.Authentication authc, leap.core.security.SimpleSecurity[] securities)
Copyright © 2019. All rights reserved.