Class AuthenticatedUserProviderSpringSecurity
java.lang.Object
com.atlassian.crowd.manager.authentication.AuthenticatedUserProviderSpringSecurity
- All Implemented Interfaces:
AuthenticatedUserProvider
public class AuthenticatedUserProviderSpringSecurity
extends Object
implements AuthenticatedUserProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the username of the currently logged in user or null if no user can be found.Returns the currently logged in user or null if no user can be found.
-
Constructor Details
-
AuthenticatedUserProviderSpringSecurity
public AuthenticatedUserProviderSpringSecurity()
-
-
Method Details
-
getAuthenticatedUsername
Description copied from interface:AuthenticatedUserProvider
Returns the username of the currently logged in user or null if no user can be found.- Specified by:
getAuthenticatedUsername
in interfaceAuthenticatedUserProvider
- Returns:
- The user name of the logged in user or null
-
getCrowdUserDetails
Description copied from interface:AuthenticatedUserProvider
Returns the currently logged in user or null if no user can be found.- Specified by:
getCrowdUserDetails
in interfaceAuthenticatedUserProvider
- Returns:
- The logged in user or null
-