wicket.settings
Interface ISecuritySettings

All Known Implementing Classes:
Settings

public interface ISecuritySettings

Interface for security related settings

Author:
Igor Vaynberg (ivaynberg)

Field Summary
static java.lang.String DEFAULT_ENCRYPTION_KEY
          encryption key used by default crypt factory
 
Method Summary
 IAuthorizationStrategy getAuthorizationStrategy()
          Gets the authorization strategy.
 CookieValuePersisterSettings getCookieValuePersisterSettings()
          Get the defaults to be used by persistence manager
 ICryptFactory getCryptFactory()
           
 IUnauthorizedComponentInstantiationListener getUnauthorizedComponentInstantiationListener()
           
 void setAuthorizationStrategy(IAuthorizationStrategy strategy)
          Sets the authorization strategy.
 void setCookieValuePersisterSettings(CookieValuePersisterSettings cookieValuePersisterSettings)
           
 void setCryptFactory(ICryptFactory cryptFactory)
          Sets the factory that will be used to create crypt objects.
 void setUnauthorizedComponentInstantiationListener(IUnauthorizedComponentInstantiationListener unauthorizedComponentInstantiationListener)
           
 

Field Detail

DEFAULT_ENCRYPTION_KEY

static final java.lang.String DEFAULT_ENCRYPTION_KEY
encryption key used by default crypt factory

See Also:
Constant Field Values
Method Detail

getAuthorizationStrategy

IAuthorizationStrategy getAuthorizationStrategy()
Gets the authorization strategy.

Returns:
Returns the authorizationStrategy.

getCookieValuePersisterSettings

CookieValuePersisterSettings getCookieValuePersisterSettings()
Get the defaults to be used by persistence manager

Returns:
CookieValuePersisterSettings

getCryptFactory

ICryptFactory getCryptFactory()
Returns:
crypt factory used to generate crypt objects

getUnauthorizedComponentInstantiationListener

IUnauthorizedComponentInstantiationListener getUnauthorizedComponentInstantiationListener()
Returns:
The listener
See Also:
IUnauthorizedComponentInstantiationListener

setAuthorizationStrategy

void setAuthorizationStrategy(IAuthorizationStrategy strategy)
Sets the authorization strategy.

Parameters:
strategy - new authorization strategy

setCookieValuePersisterSettings

void setCookieValuePersisterSettings(CookieValuePersisterSettings cookieValuePersisterSettings)
Parameters:
cookieValuePersisterSettings - The cookieValuePersisterSettings to set.

setCryptFactory

void setCryptFactory(ICryptFactory cryptFactory)
Sets the factory that will be used to create crypt objects. The crypt object returned from the first call is cached.

Parameters:
cryptFactory -

setUnauthorizedComponentInstantiationListener

void setUnauthorizedComponentInstantiationListener(IUnauthorizedComponentInstantiationListener unauthorizedComponentInstantiationListener)
Parameters:
unauthorizedComponentInstantiationListener - The listener to set
See Also:
IUnauthorizedComponentInstantiationListener


Copyright © 2004-2007 Wicket developers. All Rights Reserved.