Home » geronimo-2.2-source-release » org.apache.geronimo.security.util » [javadoc | source]
org.apache.geronimo.security.util
public class: ConfigurationUtil [javadoc | source]
java.lang.Object
   org.apache.geronimo.security.util.ConfigurationUtil
A collection of utility functions that assist with the configuration of PolicyConfigurations.
Method from org.apache.geronimo.security.util.ConfigurationUtil Summary:
generateDomainPrincipal,   generateDomainPrincipal,   generatePrimaryDomainPrincipal,   generatePrimaryDomainPrincipal,   generatePrimaryPrincipal,   generatePrimaryPrincipal,   generatePrimaryRealmPrincipal,   generatePrimaryRealmPrincipal,   generatePrincipal,   generatePrincipal,   generateRealmPrincipal,   generateRealmPrincipal,   generateX500Principal,   registerPolicyContextHandler
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.security.util.ConfigurationUtil Detail:
 public static DomainPrincipal generateDomainPrincipal(String loginDomain,
    PrincipalInfo principalInfo,
    ClassLoader classLoader) 
    Create a DomainPrincipal from a deployment description.
 public static DomainPrincipal generateDomainPrincipal(String loginDomain,
    String className,
    String principalName,
    ClassLoader classLoader) 
 public static PrimaryDomainPrincipal generatePrimaryDomainPrincipal(String domain,
    PrincipalInfo principalInfo,
    ClassLoader classLoader) throws DeploymentException 
    Create a DomainPrincipal from a deployment description.
 public static PrimaryDomainPrincipal generatePrimaryDomainPrincipal(String domain,
    String className,
    String principalName,
    ClassLoader classLoader) throws DeploymentException 
 public static PrimaryPrincipal generatePrimaryPrincipal(PrincipalInfo principalInfo,
    ClassLoader classLoader) throws DeploymentException 
    Create a Principal from a deployment description.
 public static PrimaryPrincipal generatePrimaryPrincipal(String className,
    String principalName,
    ClassLoader classLoader) throws DeploymentException 
 public static PrimaryRealmPrincipal generatePrimaryRealmPrincipal(String realm,
    String domain,
    PrincipalInfo principalInfo,
    ClassLoader classLoader) throws DeploymentException 
    Create a RealmPrincipal from a deployment description.
 public static PrimaryRealmPrincipal generatePrimaryRealmPrincipal(String realm,
    String domain,
    String className,
    String principalName,
    ClassLoader classLoader) throws DeploymentException 
 public static Principal generatePrincipal(PrincipalInfo principalInfo,
    ClassLoader classLoader) 
    Create a Principal from a deployment description.
 public static Principal generatePrincipal(String className,
    String principalName,
    ClassLoader classLoader) 
 public static RealmPrincipal generateRealmPrincipal(String realm,
    String loginDomain,
    PrincipalInfo principalInfo,
    ClassLoader classLoader) 
    Create a RealmPrincipal from a deployment description.
 public static RealmPrincipal generateRealmPrincipal(String realm,
    String loginDomain,
    String className,
    String principalName,
    ClassLoader classLoader) 
 public static X500Principal generateX500Principal(String name) 
    Create an X500Principal from a deployment description.
 public static  void registerPolicyContextHandler(PolicyContextHandler handler,
    boolean replace) throws PolicyContextException 
    A simple helper method to register PolicyContextHandlers