|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.synyx.hades.sample.auditing.AuditorAwareImpl
public class AuditorAwareImpl
Dummy implementation of AuditorAware. It will return the configured
AuditableUser as auditor on every call to
getCurrentAuditor(). Normally you would access the applications
security subsystem to return the current user.
| Constructor Summary | |
|---|---|
AuditorAwareImpl()
|
|
| Method Summary | |
|---|---|
AuditableUser |
getCurrentAuditor()
|
void |
setAuditor(AuditableUser auditor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuditorAwareImpl()
| Method Detail |
|---|
public void setAuditor(AuditableUser auditor)
auditor - the auditor to setpublic AuditableUser getCurrentAuditor()
getCurrentAuditor in interface AuditorAware<AuditableUser>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||