|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.security.principal.PrincipalFactory
public class PrincipalFactory
This class could be used to create WLSPrincipal instances with appropriate values, i.e. principal name, dn and guid.
| Method Summary | |
|---|---|
WLSPrincipal |
create(Class klass,
String name,
String guid,
String dn)
Create a WLSPrincipal instance based on the input principal class |
WLSPrincipal |
createWLSGroup(String groupName)
Create a WLSGroup instance |
WLSPrincipal |
createWLSGroup(String groupName,
String guid,
String dn)
Create a WLSGroup instance |
WLSPrincipal |
createWLSUser(String userName)
Create a WLSUser instance |
WLSPrincipal |
createWLSUser(String userName,
String guid,
String dn)
Create a WLSUser instance |
static PrincipalFactory |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PrincipalFactory getInstance()
public WLSPrincipal createWLSUser(String userName)
userName - the user name for the WLSUser
public 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 WLSUser
public WLSPrincipal createWLSGroup(String groupName)
groupName - the group name for the WLSGroup
public 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 instance
public 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 instance
InvalidParameterException
|
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||