public class PrincipalFactory
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
WLSPrincipal |
create(java.lang.Class klass,
java.lang.String name,
java.lang.String guid,
java.lang.String dn) |
Create a WLSPrincipal instance based on the input principal class
|
WLSPrincipal |
create(java.lang.Class klass,
java.lang.String name,
java.lang.String identityDomain,
java.lang.String guid,
java.lang.String dn) |
|
WLSPrincipal |
createIDCSAppRole(java.lang.String appRoleName,
java.lang.String appName) |
Create an IDCSAppRole instance
|
WLSPrincipal |
createIDCSAppRole(java.lang.String appRoleName,
java.lang.String id,
java.lang.String ref,
java.lang.String appName,
java.lang.String appId) |
Create an IDCSAppRole instance
|
WLSPrincipal |
createIDCSClient(java.lang.String clientName,
java.lang.String clientTenant,
java.lang.String clientId) |
Create an IDCSClient instance
|
WLSPrincipal |
createIDCSScope(java.lang.String scopeName,
java.lang.String tenant) |
Create an IDCSScope instance
|
WLSPrincipal |
createWLSGroup(java.lang.String groupName) |
Create a WLSGroup instance
|
WLSPrincipal |
createWLSGroup(java.lang.String groupName,
java.lang.String identityDomain) |
Create a WLSGroup instance
|
WLSPrincipal |
createWLSGroup(java.lang.String groupName,
java.lang.String guid,
java.lang.String dn) |
Create a WLSGroup instance
|
WLSPrincipal |
createWLSGroup(java.lang.String groupName,
java.lang.String identityDomain,
java.lang.String guid,
java.lang.String dn) |
Create a WLSGroup instance
|
WLSPrincipal |
createWLSUser(java.lang.String userName) |
Create a WLSUser instance
|
WLSPrincipal |
createWLSUser(java.lang.String userName,
java.lang.String identityDomain) |
Create a WLSUser instance
|
WLSPrincipal |
createWLSUser(java.lang.String userName,
java.lang.String guid,
java.lang.String dn) |
Create a WLSUser instance
|
WLSPrincipal |
createWLSUser(java.lang.String userName,
java.lang.String identityDomain,
java.lang.String guid,
java.lang.String dn) |
Create a WLSUser instance
|
static PrincipalFactory |
getInstance() |
public static PrincipalFactory getInstance()
public WLSPrincipal createWLSUser(java.lang.String userName)
userName - The user name for the WLSUserpublic WLSPrincipal createWLSUser(java.lang.String userName, java.lang.String identityDomain)
userName - The user name for the WLSUseridentityDomain - The identityDomain name of the principalpublic WLSPrincipal createWLSUser(java.lang.String userName, java.lang.String guid, java.lang.String dn)
userName - The user name for the WLSUserguid - The global unique id for the WLSUserdn - The distinguished name for the WLSUserpublic WLSPrincipal createWLSUser(java.lang.String userName, java.lang.String identityDomain, java.lang.String guid, java.lang.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(java.lang.String groupName)
groupName - The group name for the WLSGrouppublic WLSPrincipal createWLSGroup(java.lang.String groupName, java.lang.String identityDomain)
groupName - The group name for the WLSGroupidentityDomain - The identityDomain name of the principalpublic WLSPrincipal createWLSGroup(java.lang.String groupName, java.lang.String guid, java.lang.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(java.lang.String groupName, java.lang.String identityDomain, java.lang.String guid, java.lang.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 createIDCSAppRole(java.lang.String appRoleName, java.lang.String appName) throws java.security.InvalidParameterException
appRoleName - The Oracle Identity Cloud Service application role nameappName - The containing Oracle Identity Cloud Service application namejava.security.InvalidParameterExceptionpublic WLSPrincipal createIDCSAppRole(java.lang.String appRoleName, java.lang.String id, java.lang.String ref, java.lang.String appName, java.lang.String appId) throws java.security.InvalidParameterException
appRoleName - The Oracle Identity Cloud Service application role nameid - The Oracle Identity Cloud Service application role identifierref - The Oracle Identity Cloud Service application role referenceappName - The containing Oracle Identity Cloud Service application nameappId - The containing Oracle Identity Cloud Service application identifierjava.security.InvalidParameterExceptionpublic WLSPrincipal createIDCSClient(java.lang.String clientName, java.lang.String clientTenant, java.lang.String clientId) throws java.security.InvalidParameterException
clientName - The Oracle Identity Cloud Service client nameclientTenant - The Oracle Identity Cloud Service client tenantclientId - The Oracle Identity Cloud Service client identifierjava.security.InvalidParameterExceptionpublic WLSPrincipal createIDCSScope(java.lang.String scopeName, java.lang.String tenant)
scopeName - The scope name for the Oracle Identity Cloud Service scopetenant - The tenant for the IDCSScopepublic WLSPrincipal create(java.lang.Class klass, java.lang.String name, java.lang.String guid, java.lang.String dn) throws java.security.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 instancejava.security.InvalidParameterExceptionpublic WLSPrincipal create(java.lang.Class klass, java.lang.String name, java.lang.String identityDomain, java.lang.String guid, java.lang.String dn) throws java.security.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 instancejava.security.InvalidParameterException