|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ofbiz.security.SecurityFactory
public class SecurityFactory
SecurityFactory
This Factory class returns an instance of a security implementation.
Setting the security implementation className is done in security.xml.
If no customiz security name is given, the default implementation will be used (OFBizSecurity)
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_SECURITY
|
static java.lang.String |
module
|
| Constructor Summary | |
|---|---|
SecurityFactory()
|
|
| Method Summary | |
|---|---|
static Security |
getInstance(GenericDelegator delegator)
Returns an instance of a Security implementation as defined in the security.xml by defined name in security.properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String module
public static final java.lang.String DEFAULT_SECURITY
| Constructor Detail |
|---|
public SecurityFactory()
| Method Detail |
|---|
public static Security getInstance(GenericDelegator delegator)
throws SecurityConfigurationException
delegator - the generic delegator
SecurityConfigurationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||