com.atlassian.bamboo.user
Interface BambooAuthenticationContext

All Known Implementing Classes:
DefaultAuthenticationContext

public interface BambooAuthenticationContext

Provides an interface to access the current User.


Method Summary
 com.atlassian.user.User getUser()
          Who's the current current user (in the current http session!)
 java.lang.String getUserName()
          Who's the current current user (in the current http session!)
 

Method Detail

getUser

@Nullable
com.atlassian.user.User getUser()
Who's the current current user (in the current http session!)

Returns:
The user. Null if they are not logged in.

getUserName

@Nullable
java.lang.String getUserName()
Who's the current current user (in the current http session!)

Returns:
the user name if the current user, null if no one.


Copyright © 2011 Atlassian. All Rights Reserved.