org.jasig.services.persondir.support
Interface ICurrentUserProvider


public interface ICurrentUserProvider

Optional interface that can be implemented by users of person directory to tell attribute sources the userName of the current user. This is useful for sources such as AdditionalDescriptorsPersonAttributeDao where the additional attributes may only be applicable for queries related to the current user of the system, and not for other users the current user is getting attribute information for.

Version:
$Revision$
Author:
Eric Dalquist

Method Summary
 String getCurrentUserName()
           
 

Method Detail

getCurrentUserName

String getCurrentUserName()
Returns:
The userName of the user calling the IPersonAttributeDao API


Copyright © 2012 Jasig. All Rights Reserved.