public abstract class SecurityEvent extends Object
SecurityDomain
.Modifier and Type | Method and Description |
---|---|
<P,R> R |
accept(SecurityEventVisitor<P,R> visitor,
P param)
Accept the given visitor, calling the method which is most applicable to this event type.
|
Instant |
getInstant()
Obtain the
Instant this event was created. |
SecurityIdentity |
getSecurityIdentity()
Get the
SecurityIdentity that was active at the time this event was triggered. |
public SecurityIdentity getSecurityIdentity()
SecurityIdentity
that was active at the time this event was triggered.SecurityIdentity
that was active at the time this event was triggered.public Instant getInstant()
Instant
this event was created.Instant
this event was created.public <P,R> R accept(SecurityEventVisitor<P,R> visitor, P param)
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodCopyright © 2020 JBoss by Red Hat. All rights reserved.