com.atlassian.bamboo.user
Class DefaultAuthenticationContext

java.lang.Object
  extended by com.atlassian.bamboo.user.DefaultAuthenticationContext
All Implemented Interfaces:
BambooAuthenticationContext

public class DefaultAuthenticationContext
extends java.lang.Object
implements BambooAuthenticationContext


Constructor Summary
DefaultAuthenticationContext()
           
 
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!)
 void setBambooUserManager(BambooUserManager bambooUserManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAuthenticationContext

public DefaultAuthenticationContext()
Method Detail

getUser

@Nullable
public com.atlassian.user.User getUser()
Description copied from interface: BambooAuthenticationContext
Who's the current current user (in the current http session!)

Specified by:
getUser in interface BambooAuthenticationContext
Returns:
The user. Null if they are not logged in.

getUserName

@Nullable
public java.lang.String getUserName()
Description copied from interface: BambooAuthenticationContext
Who's the current current user (in the current http session!)

Specified by:
getUserName in interface BambooAuthenticationContext
Returns:
the user name if the current user, null if no one.

setBambooUserManager

public void setBambooUserManager(BambooUserManager bambooUserManager)


Copyright © 2010 Atlassian. All Rights Reserved.