Class SecurityEventCollectorImpl
- java.lang.Object
-
- io.jenkins.plugins.maplelabs.Events.Data.AbstractEvent
-
- io.jenkins.plugins.maplelabs.Events.Collector.SecurityEventCollectorImpl
-
- All Implemented Interfaces:
IEvent
,ISecurityEvent
public class SecurityEventCollectorImpl extends AbstractEvent implements ISecurityEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IEvent
IEvent.AlertType, IEvent.Priority
-
Nested classes/interfaces inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.ISecurityEvent
ISecurityEvent.Type
-
-
Field Summary
-
Fields inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.ISecurityEvent
EVENT
-
-
Constructor Summary
Constructors Constructor Description SecurityEventCollectorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectEventData(String name, ISecurityEvent.Type type)
This function will called when a user created/ failed to login/ login/ logoutvoid
collectEventData(org.springframework.security.core.userdetails.UserDetails details)
This function will called when a user is authenticated-
Methods inherited from class io.jenkins.plugins.maplelabs.Events.Data.AbstractEvent
getAlert, getAlertType, getDate, getEventType, getHost, getNodeName, getNodeName, getPriority, getText, getTitle, setAlert, setDate, setEventType, setHost, setNodeName, setPriority, setText, setTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IEvent
getAlertType, getDate, getEventType, getHost, getNodeName, getPriority, getText, getTitle
-
-
-
-
Method Detail
-
collectEventData
public void collectEventData(org.springframework.security.core.userdetails.UserDetails details)
This function will called when a user is authenticated- Specified by:
collectEventData
in interfaceISecurityEvent
-
collectEventData
public void collectEventData(String name, ISecurityEvent.Type type)
This function will called when a user created/ failed to login/ login/ logout- Specified by:
collectEventData
in interfaceISecurityEvent
-
-