|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.security.providers.authentication.SubjectComponentData
public final class SubjectComponentData
SubjectComponentDataImpl implements
SubjectComponentData, which is an immutable collection of subject components
which may be used to create a .
Subject
| Constructor Summary | |
|---|---|
SubjectComponentData(String userName,
Set<String> groups,
Set<Principal> principals,
Set<Object> privateCredentials,
Set<Object> publicCredentials)
The Constructor. |
|
| Method Summary | |
|---|---|
Set<String> |
getGroups()
Determines the Subject group membership. |
Set<Principal> |
getPrincipals()
Determines the Subject set of additional principals. |
Set<Object> |
getPrivateCredentials()
Determines the Subject set of private credentials. |
Set<Object> |
getPublicCredentials()
Determines the Subject set of public credentials. |
String |
getUserName()
Determines the Subject username. |
String |
toString()
Provides a string representation of the contained data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubjectComponentData(String userName,
Set<String> groups,
Set<Principal> principals,
Set<Object> privateCredentials,
Set<Object> publicCredentials)
NOTE THAT null given to any parameter is accepted and returned
in the corresponding getter.
userName - Subject user namegroups - Subject group membershipprincipals - Additional subject principals, we assume Principal
implementations are immutable.privateCredentials - Subject private credentials, we assume credentials
are immutable.publicCredentials - Subject public credentials, we assume credentials
are immutable.| Method Detail |
|---|
public String getUserName()
public Set<String> getGroups()
public Set<Principal> getPrincipals()
public Set<Object> getPrivateCredentials()
public Set<Object> getPublicCredentials()
public String toString()
toString in class ObjectObject.toString()
|
Copyright 1996, 2014, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||