Class SecurityEvent

    • Constructor Detail

      • SecurityEvent

        SecurityEvent​(SecurityIdentity securityIdentity)
        Constructor for a new instance.
        securityIdentity - the current SecurityIdentity for the event.
    • Method Detail

      • getInstant

        public Instant getInstant()
        Obtain the Instant this event was created.
        the Instant this event was created.
      • accept

        public <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.
        Type Parameters:
        P - the visitor parameter type
        R - the visitor return type
        visitor - the visitor
        param - the parameter to pass to the visitor handleXxx method
        the value returned from the visitor handleXxx method