public class PrincipalFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
WLSPrincipal |
create(Class klass,
String name,
String guid,
String dn)
Create a WLSPrincipal instance based on the input principal class
|
WLSPrincipal |
create(Class klass,
String name,
String identityDomain,
String guid,
String dn) |
WLSPrincipal |
createWLSGroup(String groupName)
Create a WLSGroup instance
|
WLSPrincipal |
createWLSGroup(String groupName,
String identityDomain)
Create a WLSGroup instance
|
WLSPrincipal |
createWLSGroup(String groupName,
String guid,
String dn)
Create a WLSGroup instance
|
WLSPrincipal |
createWLSGroup(String groupName,
String identityDomain,
String guid,
String dn)
Create a WLSGroup instance
|
WLSPrincipal |
createWLSUser(String userName)
Create a WLSUser instance
|
WLSPrincipal |
createWLSUser(String userName,
String identityDomain)
Create a WLSUser instance
|
WLSPrincipal |
createWLSUser(String userName,
String guid,
String dn)
Create a WLSUser instance
|
WLSPrincipal |
createWLSUser(String userName,
String identityDomain,
String guid,
String dn)
Create a WLSUser instance
|
static PrincipalFactory |
getInstance() |
public static PrincipalFactory getInstance()
public WLSPrincipal createWLSUser(String userName)
userName - the user name for the WLSUserpublic WLSPrincipal createWLSUser(String userName, String identityDomain)
userName - the user name for the WLSUseridentityDomain - the identityDomain name of the principalpublic WLSPrincipal createWLSUser(String userName, String guid, String dn)
userName - the user name for the WLSUserguid - the global unique id for the WLSUserdn - the distinguished name for the WLSUserpublic WLSPrincipal createWLSUser(String userName, String identityDomain, String guid, String dn)
userName - the user name for the WLSUseridentityDomain - the identityDomain name of the principalguid - the global unique id for the WLSUserdn - the distinguished name for the WLSUserpublic WLSPrincipal createWLSGroup(String groupName)
groupName - the group name for the WLSGrouppublic WLSPrincipal createWLSGroup(String groupName, String identityDomain)
groupName - the group name for the WLSGroupidentityDomain - the identityDomain name of the principalpublic WLSPrincipal createWLSGroup(String groupName, String guid, String dn)
groupName - the group name for the WLSGroup instanceguid - the global unique id for the WLSGroup instancedn - the distinguished name for the WLSGroup instancepublic WLSPrincipal createWLSGroup(String groupName, String identityDomain, String guid, String dn)
groupName - the group name for the WLSGroup instanceidentityDomain - the identityDomain name of the principalguid - the global unique id for the WLSGroup instancedn - the distinguished name for the WLSGroup instancepublic WLSPrincipal create(Class klass, String name, String guid, String dn) throws InvalidParameterException
klass - the java class to be used to create the WLSPrincipalname - the name for the WLSPrincipal instanceguid - the global unique id for the WLSPrincipal instancedn - the distinguished name for the WLSPrincipal instanceInvalidParameterExceptionpublic WLSPrincipal create(Class klass, String name, String identityDomain, String guid, String dn) throws InvalidParameterException
klass - the java class to be used to create the WLSPrincipalname - the name for the WLSPrincipal instanceidentityDomain - the identityDomain name of the principalguid - the global unique id for the WLSPrincipal instancedn - the distinguished name for the WLSPrincipal instanceInvalidParameterException