Package org.jgrapes.webconsole.rbac
Class UserLogger
java.lang.Object
org.jgrapes.core.internal.ComponentVertex
org.jgrapes.core.Component
org.jgrapes.webconsole.rbac.UserLogger
- All Implemented Interfaces:
Iterable<org.jgrapes.core.ComponentType>,org.jgrapes.core.Channel,org.jgrapes.core.ComponentType,org.jgrapes.core.Eligible,org.jgrapes.core.Manager
A component that writes user authentication and log out events to the log.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.core.Channel
org.jgrapes.core.Channel.Default -
Field Summary
Fields inherited from class org.jgrapes.core.Component
loggerFields inherited from interface org.jgrapes.core.Channel
BROADCAST, SELF -
Constructor Summary
ConstructorsConstructorDescriptionUserLogger(org.jgrapes.core.Channel componentChannel) Instantiates a new user logger. -
Method Summary
Modifier and TypeMethodDescriptionvoidUser authenticated.voiduserLoggedOut(UserLoggedOut event) User logged out.Methods inherited from class org.jgrapes.core.Component
channel, component, defaultCriterion, isEligibleFor, setNameMethods inherited from class org.jgrapes.core.internal.ComponentVertex
activeEventPipeline, addHandler, attach, channelReplacements, children, componentPath, componentVertex, detach, fire, initComponentsHandlers, iterator, name, newEventPipeline, newEventPipeline, parent, registerAsGenerator, root, toString, unregisterAsGeneratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.jgrapes.core.Manager
stream
-
Constructor Details
-
UserLogger
Instantiates a new user logger.- Parameters:
componentChannel- the component channel
-
-
Method Details
-
userAuthenticated
User authenticated.- Parameters:
event- the event
-
userLoggedOut
User logged out.- Parameters:
event- the event
-