public class SwarmStrategyFactory extends Object implements org.wicketstuff.security.strategies.StrategyFactory
SwarmStrategys.| Constructor and Description |
|---|
SwarmStrategyFactory(Class<? extends org.wicketstuff.security.components.ISecureComponent> secureClass,
Object hiveQueen)
Constructs a new factory.
|
SwarmStrategyFactory(Object hiveQueen)
Constructs a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected Object |
getHiveKey()
The key to the hive.
|
protected Class<? extends org.wicketstuff.security.components.ISecureComponent> |
getSecureClass()
All instance of this class will be required to have
ComponentPermission with at least
the access action. |
org.wicketstuff.security.strategies.WaspAuthorizationStrategy |
newStrategy() |
public SwarmStrategyFactory(Object hiveQueen)
ISecurePages to have access
rights.hiveQueen - the key to get the Hivepublic SwarmStrategyFactory(Class<? extends org.wicketstuff.security.components.ISecureComponent> secureClass, Object hiveQueen)
secureClass - instances of this class will be required to have access rights.hiveQueen - hiveQueen the key to get the Hivepublic void destroy()
destroy in interface org.wicketstuff.security.strategies.StrategyFactoryStrategyFactory.destroy()public org.wicketstuff.security.strategies.WaspAuthorizationStrategy newStrategy()
newStrategy in interface org.wicketstuff.security.strategies.StrategyFactoryStrategyFactory.newStrategy()protected final Object getHiveKey()
protected final Class<? extends org.wicketstuff.security.components.ISecureComponent> getSecureClass()
ComponentPermission with at least
the access action.Copyright © 2006–2019 Apache Software Foundation. All rights reserved.