org.jboss.security.identity.plugins
Class IdentityFactory
java.lang.Object
org.jboss.security.identity.plugins.IdentityFactory
public class IdentityFactory
- extends Object
Factory to create customized principal and group
instances
- Since:
- Nov 18, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTITY_CLASS
public static final String IDENTITY_CLASS
- See Also:
- Constant Field Values
PRINCIPAL_CLASS
public static final String PRINCIPAL_CLASS
- See Also:
- Constant Field Values
GROUP_CLASS
public static final String GROUP_CLASS
- See Also:
- Constant Field Values
IdentityFactory
public IdentityFactory()
createPrincipal
public static Principal createPrincipal(String name)
throws Exception
- Throws:
Exception
createGroup
public static Group createGroup(String name)
throws Exception
- Throws:
Exception
createIdentity
public static org.jboss.security.identity.Identity createIdentity(String name)
throws Exception
- Throws:
Exception
createIdentity
public static org.jboss.security.identity.Identity createIdentity(String identityClass,
String name)
throws Exception
- Throws:
Exception
createIdentityWithRole
public static org.jboss.security.identity.Identity createIdentityWithRole(String name,
String roleName)
throws Exception
- Throws:
Exception
createIdentityWithRole
public static org.jboss.security.identity.Identity createIdentityWithRole(String identityClass,
String name,
String roleName)
throws Exception
- Throws:
Exception
createIdentityWithRole
public static org.jboss.security.identity.Identity createIdentityWithRole(String name,
org.jboss.security.identity.Role role)
throws Exception
- Throws:
Exception
createIdentityWithRole
public static org.jboss.security.identity.Identity createIdentityWithRole(String identityClass,
String name,
org.jboss.security.identity.Role role)
throws Exception
- Throws:
Exception
Copyright © 2009 JBoss Inc.. All Rights Reserved.