|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.b2b.server.Credentials
public class Credentials
Represents a set of Credential objects. This set contains
at most one of each type of credential (see the Credential
class for information about credential types).
Credential
Constructor Summary | |
---|---|
Credentials()
Creates a new list of credentials. |
Method Summary | |
---|---|
void |
add(Credential cred)
Adds the specified credential. |
boolean |
check(Credential cred)
Checks for existence and matching of this credential. |
boolean |
equals(Credentials creds)
Matches against another set of credentials. |
Credential |
get(int aType)
Gets the credential of the supplied type in this set. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Credentials()
Method Detail |
---|
public void add(Credential cred)
cred
- The credential to add.public boolean check(Credential cred)
cred
- The cred to check against
public Credential get(int aType)
aType
- The type code of the credential to fetch.
public boolean equals(Credentials creds)
creds
- The creds to match against.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |