public class DefaultSecuredPathConfigurator extends Object implements SecuredPathConfigurator
| 限定符和类型 | 字段和说明 |
|---|---|
protected SecuredPathBuilder |
path |
protected DefaultSecuredPaths |
paths |
| 构造器和说明 |
|---|
DefaultSecuredPathConfigurator(DefaultSecuredPaths paths,
leap.lang.path.PathPattern pp) |
DefaultSecuredPathConfigurator(DefaultSecuredPaths paths,
Route route) |
DefaultSecuredPathConfigurator(DefaultSecuredPaths paths,
SecuredPath old) |
DefaultSecuredPathConfigurator(DefaultSecuredPaths paths,
SecuredPathBuilder sp) |
| 限定符和类型 | 方法和说明 |
|---|---|
SecuredPath |
apply()
Updates the configuration of secured 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowAnonymous, allowClientOnly, allowPermissions, allowRememberMe, allowRoles, denyAnonymous, denyClientOnly, denyRememberMeprotected final DefaultSecuredPaths paths
protected final SecuredPathBuilder path
public DefaultSecuredPathConfigurator(DefaultSecuredPaths paths, Route route)
public DefaultSecuredPathConfigurator(DefaultSecuredPaths paths, leap.lang.path.PathPattern pp)
public DefaultSecuredPathConfigurator(DefaultSecuredPaths paths, SecuredPath old)
public DefaultSecuredPathConfigurator(DefaultSecuredPaths paths, SecuredPathBuilder sp)
public SecuredPathConfigurator setSource(Object source)
SecuredPathConfiguratorsetSource 在接口中 SecuredPathConfiguratorpublic SecuredPathConfigurator setAllowAnonymous(Boolean allow)
SecuredPathConfiguratorsetAllowAnonymous 在接口中 SecuredPathConfiguratorpublic SecuredPathConfigurator setAllowRememberMe(Boolean allow)
SecuredPathConfiguratorsetAllowRememberMe 在接口中 SecuredPathConfiguratorpublic SecuredPathConfigurator setAllowClientOnly(Boolean allow)
SecuredPathConfiguratorsetAllowClientOnly 在接口中 SecuredPathConfiguratorpublic SecuredPathConfigurator setFailureHandler(SecurityFailureHandler handler)
SecuredPathConfiguratorSecurityFailureHandler.setFailureHandler 在接口中 SecuredPathConfiguratorpublic Boolean getAllowAnonymous()
SecuredPathConfiguratorgetAllowAnonymous 在接口中 SecuredPathConfiguratorpublic Boolean getAllowRememberMe()
SecuredPathConfiguratorgetAllowRememberMe 在接口中 SecuredPathConfiguratorpublic Boolean getAllowClientOnly()
SecuredPathConfiguratorgetAllowClientOnly 在接口中 SecuredPathConfiguratorpublic SecuredPathConfigurator setPermissionsAllowed(String... permissions)
SecuredPathConfiguratorsetPermissionsAllowed 在接口中 SecuredPathConfiguratorpublic SecuredPathConfigurator setRolesAllowed(String... roles)
SecuredPathConfiguratorsetRolesAllowed 在接口中 SecuredPathConfiguratorpublic SecuredPath apply()
SecuredPathConfiguratorapply 在接口中 SecuredPathConfiguratorCopyright © 2019. All rights reserved.