|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.filter.authenticate.AuthUserInfo
public class AuthUserInfo
Information about an authenticated user.
| Constructor Summary | |
|---|---|
AuthUserInfo(java.lang.String token,
long timeout,
java.net.InetAddress sa)
A user has successfully managed to authenticat |
|
| Method Summary | |
|---|---|
boolean |
correctSocketAddress(java.net.InetAddress sa)
Check if the user is still using the same InetAddress |
boolean |
correctToken(java.lang.String token)
Check if the given token matches the token for this user |
boolean |
stillValid()
Check if this authentication is still valid. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthUserInfo(java.lang.String token,
long timeout,
java.net.InetAddress sa)
token - the token usedtimeout - the timeout in millissa - the InetAddress the user came from| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean stillValid()
public boolean correctToken(java.lang.String token)
token - the new token to validate
public boolean correctSocketAddress(java.net.InetAddress sa)
sa - the new InetAddress of the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||