|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.auth.NamePasswordCredentials
public class NamePasswordCredentials
This simple implementation of IdentityCredentials is used to
represent a name and password pair.
| Field Summary | |
|---|---|
static String |
TYPE_IDENTIFIER
The identifier for this type of credentials. |
| Constructor Summary | |
|---|---|
NamePasswordCredentials(String name,
char[] password)
Creates an instance of NamePasswordCredentials. |
|
| Method Summary | |
|---|---|
String |
getCredentialsType()
Returns the identifier for the type of credentials. |
String |
getName()
Returns the name. |
char[] |
getPassword()
Returns the password. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_IDENTIFIER
| Constructor Detail |
|---|
public NamePasswordCredentials(String name,
char[] password)
NamePasswordCredentials.
name - the namepassword - the password| Method Detail |
|---|
public String getCredentialsType()
IdentityManager to find applicable
IdentityAuthenticators to consume these credentials.
getCredentialsType in interface IdentityCredentialspublic String getName()
public char[] getPassword()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||