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 Summary
Constructors Constructor Description SecurityRealmUnavailableEvent(SecurityIdentity securityIdentity, String realmName)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P,R>
Raccept(SecurityEventVisitor<P,R> visitor, P param)Accept the given visitor, calling the method which is most applicable to this event type.StringgetRealmName()Obtain the unavailable realm name.-
Methods inherited from class org.wildfly.security.auth.server.event.SecurityEvent
getInstant, getSecurityIdentity
-
-
-
-
Constructor Detail
-
SecurityRealmUnavailableEvent
public SecurityRealmUnavailableEvent(SecurityIdentity securityIdentity, String realmName)
Construct a new instance.- Parameters:
securityIdentity- theSecurityIdentitythe permission check was against.realmName- the unavailable realm name.
-
-
Method Detail
-
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:SecurityEventAccept the given visitor, calling the method which is most applicable to this event type.- Overrides:
acceptin classSecurityEvent- Type Parameters:
P- the visitor parameter typeR- the visitor return type- Parameters:
visitor- the visitorparam- the parameter to pass to the visitorhandleXxxmethod- Returns:
- the value returned from the visitor
handleXxxmethod
-
-