|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.security.membership.service.FailedAuthenticationToken
public final class FailedAuthenticationToken
FailedAuthenticationToken
Marker indicating failed authentication attempt. Membership SPI
domain implementations should wrap the Serializable payload
in an instance of this class to signify to the Membgership service that
the domian failed to authenticate the given payload token.
This wrapper class will not be exposed outside of the Mebership framework.
| Constructor Summary | |
|---|---|
FailedAuthenticationToken()
FailedAuthenticationToken |
|
| Method Summary | |
|---|---|
java.io.Serializable |
getPayload()
Get the payload token that failed to authentcation by a membership domain. |
java.lang.String |
getUserName()
Get the exact username of the authenticated user as it is known to the authenticating membership domain. |
boolean |
isAuthenticated()
The attempt to authenticate the given payload failed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FailedAuthenticationToken()
payload - The failed authentication token - may be null.| Method Detail |
|---|
public java.io.Serializable getPayload()
getPayload in interface AuthenticationTokenpublic java.lang.String getUserName()
Will be null if the user was not
authenticated.
getUserName in interface AuthenticationTokenpublic boolean isAuthenticated()
isAuthenticated in interface AuthenticationTokenfalse - always.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||