com.atlassian.sal.bamboo.user
Class BambooSalUserManager

java.lang.Object
  extended by com.atlassian.sal.bamboo.user.BambooSalUserManager
All Implemented Interfaces:
com.atlassian.sal.api.user.UserManager

public class BambooSalUserManager
extends java.lang.Object
implements com.atlassian.sal.api.user.UserManager


Constructor Summary
BambooSalUserManager(BambooUserManager bambooUserManager, BambooPermissionManager bambooPermissionManager, AdministrationConfigurationManager administrationConfigurationManager)
           
 
Method Summary
 boolean authenticate(java.lang.String username, java.lang.String password)
           
 java.lang.String getRemoteUsername()
           
 java.lang.String getRemoteUsername(javax.servlet.http.HttpServletRequest httpServletRequest)
           
 com.atlassian.sal.api.user.UserProfile getUserProfile(java.lang.String username)
           
 boolean isAdmin(java.lang.String username)
           
 boolean isSystemAdmin(java.lang.String username)
           
 boolean isUserInGroup(java.lang.String username, java.lang.String group)
           
 java.security.Principal resolve(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooSalUserManager

public BambooSalUserManager(BambooUserManager bambooUserManager,
                            BambooPermissionManager bambooPermissionManager,
                            AdministrationConfigurationManager administrationConfigurationManager)
Method Detail

getRemoteUsername

public java.lang.String getRemoteUsername()
Specified by:
getRemoteUsername in interface com.atlassian.sal.api.user.UserManager

getRemoteUsername

public java.lang.String getRemoteUsername(javax.servlet.http.HttpServletRequest httpServletRequest)
Specified by:
getRemoteUsername in interface com.atlassian.sal.api.user.UserManager

isAdmin

public boolean isAdmin(java.lang.String username)
Specified by:
isAdmin in interface com.atlassian.sal.api.user.UserManager

isUserInGroup

public boolean isUserInGroup(java.lang.String username,
                             java.lang.String group)
Specified by:
isUserInGroup in interface com.atlassian.sal.api.user.UserManager

isSystemAdmin

public boolean isSystemAdmin(java.lang.String username)
Specified by:
isSystemAdmin in interface com.atlassian.sal.api.user.UserManager

resolve

public java.security.Principal resolve(java.lang.String username)
                                throws com.atlassian.sal.api.user.UserResolutionException
Specified by:
resolve in interface com.atlassian.sal.api.user.UserManager
Throws:
com.atlassian.sal.api.user.UserResolutionException

authenticate

public boolean authenticate(java.lang.String username,
                            java.lang.String password)
Specified by:
authenticate in interface com.atlassian.sal.api.user.UserManager

getUserProfile

public com.atlassian.sal.api.user.UserProfile getUserProfile(java.lang.String username)
Specified by:
getUserProfile in interface com.atlassian.sal.api.user.UserManager


Copyright © 2011 Atlassian. All Rights Reserved.