public interface SecuredPathConfigurator
SecuredPath.| 限定符和类型 | 方法和说明 |
|---|---|
default SecuredPathConfigurator |
allowAnonymous()
Allow anonymous (not authenticated) user to access the path.
|
default SecuredPathConfigurator |
allowClientOnly()
Allow client-only authentication.
|
default SecuredPathConfigurator |
allowPermissions(String... permissions)
Allow the given permissions can access the path.
|
default SecuredPathConfigurator |
allowRememberMe()
Allow remember-me user to access the path.
|
default SecuredPathConfigurator |
allowRoles(String... roles)
Allow the given roles can access the path.
|
SecuredPath |
apply()
Updates the configuration of secured path.
|
default SecuredPathConfigurator |
denyAnonymous()
Deny anonymous access.
|
default SecuredPathConfigurator |
denyClientOnly()
Deny client-only authentication.
|
default SecuredPathConfigurator |
denyRememberMe()
Deny remember-me user to access the path.
|
Boolean |
getAllowAnonymous()
Returns true if allow anonymous access.
|
Boolean |
getAllowClientOnly()
Returns true if allow client-only authentication.
|
Boolean |
getAllowRememberMe()
Returns true if allow remember-me authentication.
|
SecuredPathConfigurator |
setAllowAnonymous(Boolean allow)
Sets allow or deny anonymous access.
|
SecuredPathConfigurator |
setAllowClientOnly(Boolean allow)
Sets allow or deny client-only authentication.
|
SecuredPathConfigurator |
setAllowRememberMe(Boolean allow)
Sets allow or deny remember-me authentication.
|
SecuredPathConfigurator |
setFailureHandler(SecurityFailureHandler handler)
Sets the
SecurityFailureHandler. |
SecuredPathConfigurator |
setPermissionsAllowed(String... permissions)
Sets the allowed permissions.
|
SecuredPathConfigurator |
setRolesAllowed(String... roles)
Sets the allowed roles.
|
SecuredPathConfigurator |
setSource(Object source)
Set the source.
|
SecuredPathConfigurator setSource(Object source)
default SecuredPathConfigurator allowAnonymous()
default SecuredPathConfigurator denyAnonymous()
default SecuredPathConfigurator allowRememberMe()
default SecuredPathConfigurator denyRememberMe()
default SecuredPathConfigurator allowClientOnly()
default SecuredPathConfigurator denyClientOnly()
default SecuredPathConfigurator allowPermissions(String... permissions)
default SecuredPathConfigurator allowRoles(String... roles)
SecuredPathConfigurator setAllowAnonymous(Boolean allow)
SecuredPathConfigurator setAllowRememberMe(Boolean allow)
SecuredPathConfigurator setAllowClientOnly(Boolean allow)
SecuredPathConfigurator setFailureHandler(SecurityFailureHandler handler)
SecurityFailureHandler.SecuredPathConfigurator setPermissionsAllowed(String... permissions)
SecuredPathConfigurator setRolesAllowed(String... roles)
Boolean getAllowAnonymous()
Boolean getAllowRememberMe()
Boolean getAllowClientOnly()
SecuredPath apply()
Copyright © 2019. All rights reserved.