Package org.apache.ofbiz.security
Class SecurityFactory
- java.lang.Object
-
- org.apache.ofbiz.security.SecurityFactory
-
public final class SecurityFactory extends java.lang.Object
ASecurity
factory.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Security
getInstance(Delegator delegator)
Returns aSecurity
instance.
-
-
-
Method Detail
-
getInstance
public static Security getInstance(Delegator delegator) throws SecurityConfigurationException
Returns aSecurity
instance. The method uses Java'sServiceLoader
to get aSecurity
instance. If no instance is found, a default implementation is used. The default implementation is based on/backed by the OFBiz entity engine.- Parameters:
delegator
- The delegator- Returns:
- A
Security
instance - Throws:
SecurityConfigurationException
-
-