JSecurity

org.jsecurity.authc
Interface InetAuthenticationToken

All Superinterfaces:
AuthenticationToken, Serializable
All Known Implementing Classes:
UsernamePasswordToken

public interface InetAuthenticationToken
extends AuthenticationToken

Authentication token that also preserves the IP from where the authentication attempt is taking place.

Since:
0.2
Author:
Les Hazlewood

Method Summary
 InetAddress getInetAddress()
          Returns the InetAddress from where the authentication attempt is occurring.
 
Methods inherited from interface org.jsecurity.authc.AuthenticationToken
getCredentials, getPrincipal
 

Method Detail

getInetAddress

InetAddress getInetAddress()
Returns the InetAddress from where the authentication attempt is occurring. May be null if the IP address is ignored or unknown, in which case, it is up to the Authenticator processing the token to determine if it is valid without the IP.

Returns:
the InetAddress from where the authentication attempt is occurring.

JSecurity

Copyright © 2004-2008 JSecurity.