Class SecurityRealmUnavailableEvent

java.lang.Object
org.wildfly.security.auth.server.event.SecurityEvent
org.wildfly.security.auth.server.event.SecurityRealmUnavailableEvent

public class SecurityRealmUnavailableEvent extends SecurityEvent
A security event signifying unavailable realm.
Author:
Martin Mazanek
  • Constructor Details

    • SecurityRealmUnavailableEvent

      public SecurityRealmUnavailableEvent(SecurityIdentity securityIdentity, String realmName)
      Construct a new instance.
      Parameters:
      securityIdentity - the SecurityIdentity the permission check was against.
      realmName - the unavailable realm name.
  • Method Details

    • getRealmName

      public String getRealmName()
      Obtain the unavailable realm name.
      Returns:
      the realm name.
    • accept

      public <P, R> R accept(SecurityEventVisitor<P,R> visitor, P param)
      Description copied from class: SecurityEvent
      Accept the given visitor, calling the method which is most applicable to this event type.
      Overrides:
      accept in class SecurityEvent
      Type Parameters:
      P - the visitor parameter type
      R - the visitor return type
      Parameters:
      visitor - the visitor
      param - the parameter to pass to the visitor handleXxx method
      Returns:
      the value returned from the visitor handleXxx method