ice.net
Class AuthenticationEvent
java.lang.Object
java.util.EventObject
ice.net.AuthenticationEvent
- All Implemented Interfaces:
- Serializable
- public class AuthenticationEvent
- extends EventObject
This event is passed to all AuthenticationListeners.
It is fired whenever a challenge for basic (unsecure) or a digest authentication
is recieved, and the AuthenticationManager does not have a valid
authentication to satisfy it.
- See Also:
Authentication,
AuthenticationManager,
AuthenticationListener,
Serialized Form
|
Method Summary |
Authentication |
getAuthentication()
Returns the Authentication object that has been generated from
the challenge that caused the AuthenticationEvent. |
int |
getType()
Returns the type of event. |
UNKNOWN_INCOMING
public static final int UNKNOWN_INCOMING
- See Also:
- Constant Field Values
AuthenticationEvent
public AuthenticationEvent(int type,
Authentication theAuthentication,
Object source)
- Constructs an AuthenticationEvent.
- Parameters:
type - The Authentication type.theAuthentication - The Authentication object which the event is about.
getType
public int getType()
- Returns the type of event. Currently only AuthenticationEvent.UNKNOWN_INCOMING is used.
getAuthentication
public Authentication getAuthentication()
- Returns the Authentication object that has been generated from
the challenge that caused the AuthenticationEvent.