com.ibm.as400.security.auth

Class AS400CredentialEvent

  • java.lang.Object
    • java.util.EventObject
      • com.ibm.as400.security.auth.AS400CredentialEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class AS400CredentialEvent
    extends java.util.EventObject
    The AS400CredentialEvent class represents a credential event.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int CR_CREATE
      Event ID indicating that a credential has been created.
      static int CR_DESTROY
      Event ID indicating that a credential has been destroyed.
      static int CR_REFRESH
      Event ID indicating that a credential has been refreshed.
      static int CR_SWAP
      Event ID indicating that a credential was used to change the thread identity.
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor and Description
      AS400CredentialEvent(java.lang.Object source, int id)
      Constructs a AS400CredentialEvent object.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getID()
      Returns the identifier for the 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

      • CR_CREATE

        public static final int CR_CREATE
        Event ID indicating that a credential has been created.
        See Also:
        Constant Field Values
      • CR_DESTROY

        public static final int CR_DESTROY
        Event ID indicating that a credential has been destroyed.
        See Also:
        Constant Field Values
      • CR_REFRESH

        public static final int CR_REFRESH
        Event ID indicating that a credential has been refreshed.
        See Also:
        Constant Field Values
      • CR_SWAP

        public static final int CR_SWAP
        Event ID indicating that a credential was used to change the thread identity.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AS400CredentialEvent

        public AS400CredentialEvent(java.lang.Object source,
                            int id)
        Constructs a AS400CredentialEvent object.
        Parameters:
        source - The object where the event originated.
        id - The event identifier.
    >
    • Method Detail

      • getID

        public int getID()
        Returns the identifier for the event.

        Possible identifiers are available as fields on this class.

        Returns:
        The event identifier.