Credentials Class
- public class Credentials
extends Object
implements Serializable
The credentials for an authenticated subject.
-
Hierarchy
-
Object
Credentials
-
All Implemented Interfaces
-
Serializable
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 |
Credentials
public Credentials()
- Constructs an empty Credentials.
Credentials
public Credentials(Subject
subject)
- Constructs an Credentials with a Subject.
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.