org.apache.wicket.settings
public interface ISecuritySettings
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCRYPTION_KEY
encryption key used by default crypt factory
|
Modifier and Type | Method and Description |
---|---|
IAuthenticationStrategy |
getAuthenticationStrategy()
Gets the authentication strategy.
|
IAuthorizationStrategy |
getAuthorizationStrategy()
Gets the authorization strategy.
|
ICryptFactory |
getCryptFactory() |
boolean |
getEnforceMounts()
Gets whether mounts should be enforced.
|
IUnauthorizedComponentInstantiationListener |
getUnauthorizedComponentInstantiationListener() |
void |
setAuthenticationStrategy(IAuthenticationStrategy strategy)
Sets the authentication strategy.
|
void |
setAuthorizationStrategy(IAuthorizationStrategy strategy)
Sets the authorization strategy.
|
void |
setCryptFactory(ICryptFactory cryptFactory)
Sets the factory that will be used to create crypt objects.
|
void |
setEnforceMounts(boolean enforce)
Sets whether mounts should be enforced.
|
void |
setUnauthorizedComponentInstantiationListener(IUnauthorizedComponentInstantiationListener unauthorizedComponentInstantiationListener) |
static final String DEFAULT_ENCRYPTION_KEY
IAuthorizationStrategy getAuthorizationStrategy()
IAuthenticationStrategy getAuthenticationStrategy()
ICryptFactory getCryptFactory()
boolean getEnforceMounts()
IUnauthorizedComponentInstantiationListener getUnauthorizedComponentInstantiationListener()
IUnauthorizedComponentInstantiationListener
void setAuthorizationStrategy(IAuthorizationStrategy strategy)
strategy
- new authorization strategyvoid setAuthenticationStrategy(IAuthenticationStrategy strategy)
strategy
- new authentication strategyvoid setCryptFactory(ICryptFactory cryptFactory)
cryptFactory
- void setEnforceMounts(boolean enforce)
enforce
- Whether mounts should be enforcedvoid setUnauthorizedComponentInstantiationListener(IUnauthorizedComponentInstantiationListener unauthorizedComponentInstantiationListener)
unauthorizedComponentInstantiationListener
- The listener to setIUnauthorizedComponentInstantiationListener
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.