Credentials Class

com.bea.content
Credentials Class

public class Credentials

    extends Object
    implements Serializable

The credentials for an authenticated subject.


Hierarchy
Object
  Credentials
All Implemented Interfaces

Serializable

Constructor Summary

Credentials()

Constructs an empty Credentials.
Credentials(Subject subject)

Constructs an Credentials with a Subject.
 

Method Summary

public Object
getProperties()
Gets any additional properties useful for authenticating and authorizing this Credentials.
public Subject
getSubject()
Returns the Subject for this Credentials.
public String
getUserName()
Gts the userName for this Credentials.
public void
setProperties(Properties properties)
Sets any additional properties useful for authenticating and authorizing this Credentials.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

Credentials

public Credentials()
Constructs an empty Credentials.

Credentials

public Credentials(Subject subject)
Constructs an Credentials with a Subject.
 

Method Detail

getProperties() Method

public Object getProperties()
Gets any additional properties useful for authenticating and authorizing this Credentials.


getSubject() Method

public Subject getSubject()
Returns the Subject for this Credentials.


getUserName() Method

public String getUserName()
Gts the userName for this Credentials.


setProperties(Properties) Method

public void setProperties(Properties properties)
Sets any additional properties useful for authenticating and authorizing this Credentials.