org.alfresco.repo.audit.generator
Class AuthenticatedUserDataGenerator

java.lang.Object
  extended by org.alfresco.repo.audit.generator.AbstractDataGenerator
      extended by org.alfresco.repo.audit.generator.AuthenticatedUserDataGenerator
All Implemented Interfaces:
DataGenerator, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

public class AuthenticatedUserDataGenerator
extends AbstractDataGenerator

Gives back the currently-authenticated user.

Since:
3.2

Field Summary
 
Fields inherited from class org.alfresco.repo.audit.generator.AbstractDataGenerator
logger
 
Constructor Summary
AuthenticatedUserDataGenerator()
           
 
Method Summary
 java.io.Serializable getData()
          Get the data generated by the instance.
 
Methods inherited from class org.alfresco.repo.audit.generator.AbstractDataGenerator
afterPropertiesSet, equals, setBeanName, setRegistry
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatedUserDataGenerator

public AuthenticatedUserDataGenerator()
Method Detail

getData

public java.io.Serializable getData()
                             throws java.lang.Throwable
Description copied from interface: DataGenerator
Get the data generated by the instance.

Returns:
Returns the currently-authenticated user
Throws:
java.lang.Throwable - All exceptions are handled by the framework


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.