Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.security.providers.authentication
Class SubjectComponentData

java.lang.Object
  extended by weblogic.security.providers.authentication.SubjectComponentData


public final class SubjectComponentData
extends Object

SubjectComponentDataImpl implements SubjectComponentData, which is an immutable collection of subject components which may be used to create a Subject.


Method Summary
 Set<String> getGroups()
          Determines the Subject group membership.
 String getIdentityDomain()
          Determines the Subject identity domain.
 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.
 void setIdentityDomain(String identityDomain)
          Sets the Subject identity domain.
 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

 

Method Detail

getUserName

public String getUserName()
Determines the Subject username.
Returns:
The username, or null if none

getIdentityDomain

public String getIdentityDomain()
Determines the Subject identity domain.
Returns:
The identity domain, or null if none

setIdentityDomain

public void setIdentityDomain(String identityDomain)
Sets the Subject identity domain. May only be called once. If the Subject has been constructed with an identity domain, calling this method is illegal.
Parameters:
identityDomain - The identity domain

getGroups

public Set<String> getGroups()
Determines the Subject group membership.
Returns:
The immutable set of groups, or null if none.

getPrincipals

public Set<Principal> getPrincipals()
Determines the Subject set of additional principals.
Returns:
The immutable set of principals, or null if none.

getPrivateCredentials

public Set<Object> getPrivateCredentials()
Determines the Subject set of private credentials.
Returns:
The immutable set of private credentials, or null if none.

getPublicCredentials

public Set<Object> getPublicCredentials()
Determines the Subject set of public credentials.
Returns:
The immutable set of public credentials, or null if none.

toString

public String toString()
Provides a string representation of the contained data.
Overrides:
toString in class Object
See Also:
Object.toString()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09