org.qi4j.library.eventsourcing.domain.factory
Class CurrentUserSubject
java.lang.Object
org.qi4j.library.eventsourcing.domain.factory.CurrentUserSubject
- All Implemented Interfaces:
- CurrentUser
public class CurrentUserSubject
- extends Object
- implements CurrentUser
Uses thread-associated Subject to get the current user name. Default to "unknown".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentUserSubject
public CurrentUserSubject()
getCurrentUser
public String getCurrentUser()
- Specified by:
getCurrentUser
in interface CurrentUser