ice.net
Class AuthenticationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byice.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

Field Summary
static int UNKNOWN_INCOMING
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AuthenticationEvent(int type, Authentication theAuthentication, Object source)
          Constructs an AuthenticationEvent.
 
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.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN_INCOMING

public static final int UNKNOWN_INCOMING
See Also:
Constant Field Values
Constructor Detail

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.
Method Detail

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.