|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents authentication information of an identity in the system (such as user, service, etc.)
Field Summary | |
static int |
AUTH_STATUS_EXPIRED
|
static int |
AUTH_STATUS_INCOMPLETE
|
static int |
AUTH_STATUS_SUCCESS
Values, which can be returned by getAuthenticationStatus
method |
Method Summary | |
AssociationOptions |
getAcceptingOptionsRequired()
Returns current required association options for the accepting connections using this Credentials object |
AssociationOptions |
getAcceptingOptionsSupported()
Returns current supported association options for the accepting connections using this Credentials object |
int |
getAuthenticationStatus()
Returns status of this instance |
AssociationOptions |
getInvocationOptionsRequired()
Returns current required association options for the outgoing connections using this Credentials object |
AssociationOptions |
getInvocationOptionsSupported()
Returns current supported association options for the outgoing connections using this Credentials object |
java.lang.String |
getProviderName()
Returns name of the provider of this instance |
javax.security.auth.Subject |
getSubject()
Returns JAAS's Subject which corresponds with these credentials |
void |
setAcceptingOptionsRequired(AssociationOptions value)
Sets new required association options for the accepting connections using this Credentials object |
void |
setAcceptingOptionsSupported(AssociationOptions value)
Sets new supported association options for the accepting connections using this Credentials object |
void |
setInvocationOptionsRequired(AssociationOptions value)
Sets new required association options for the outgoing connections using this Credentials object |
void |
setInvocationOptionsSupported(AssociationOptions value)
Sets new supported association options for the outgoing connections using this Credentials object |
Methods inherited from interface java.security.Principal |
equals, getName, hashCode, toString |
Field Detail |
public static final int AUTH_STATUS_SUCCESS
getAuthenticationStatus
method
public static final int AUTH_STATUS_EXPIRED
public static final int AUTH_STATUS_INCOMPLETE
Method Detail |
public int getAuthenticationStatus()
public java.lang.String getProviderName()
public javax.security.auth.Subject getSubject()
Subject
representing these credentialspublic AssociationOptions getAcceptingOptionsSupported()
public void setAcceptingOptionsSupported(AssociationOptions value)
value
- new association options to be setpublic AssociationOptions getAcceptingOptionsRequired()
public void setAcceptingOptionsRequired(AssociationOptions value)
value
- new association options to be setpublic AssociationOptions getInvocationOptionsSupported()
public void setInvocationOptionsSupported(AssociationOptions value)
value
- new association options to be setpublic AssociationOptions getInvocationOptionsRequired()
public void setInvocationOptionsRequired(AssociationOptions value)
value
- new association options to be set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |