org.qi4j.library.eventsourcing.domain.factory
Class CurrentUserUoWPrincipal
java.lang.Object
org.qi4j.library.eventsourcing.domain.factory.CurrentUserUoWPrincipal
- All Implemented Interfaces:
- CurrentUser
public class CurrentUserUoWPrincipal
- extends Object
- implements CurrentUser
CurrentUser implementation that gets a Principal object from the meta-info of the current UnitOfWork. Default to "unknown".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentUserUoWPrincipal
public CurrentUserUoWPrincipal()
getCurrentUser
public String getCurrentUser()
- Specified by:
getCurrentUser
in interface CurrentUser