Package com.atlassian.crowd.service
Class AbstractUserService
java.lang.Object
com.atlassian.crowd.service.AbstractUserService
- All Implemented Interfaces:
UserService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ApplicationServiceprotected final AuthenticatedUserProviderprotected final InternalApplicationHelperprotected final TokenAuthenticationManagerprotected final UserPermissionService -
Constructor Summary
ConstructorsConstructorDescriptionAbstractUserService(InternalApplicationHelper internalApplicationHelper, ApplicationService applicationService, TokenAuthenticationManager tokenAuthenticationManager, UserPermissionService userPermissionService, AuthenticatedUserProvider authenticatedUserProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String username, String password) getAuthenticatedUsername(javax.servlet.http.HttpServletRequest request) booleanisSystemAdmin(String username) booleanisUserInGroup(String username, String group) abstract Principalabstract booleansetAuthenticatedUser(String username)
-
Field Details
-
internalApplicationHelper
-
applicationService
-
tokenAuthenticationManager
-
userPermissionService
-
authenticatedUserProvider
-
-
Constructor Details
-
AbstractUserService
public AbstractUserService(InternalApplicationHelper internalApplicationHelper, ApplicationService applicationService, TokenAuthenticationManager tokenAuthenticationManager, UserPermissionService userPermissionService, AuthenticatedUserProvider authenticatedUserProvider)
-
-
Method Details
-
getAuthenticatedUsername
- Specified by:
getAuthenticatedUsernamein interfaceUserService
-
isUserInGroup
- Specified by:
isUserInGroupin interfaceUserService
-
isSystemAdmin
- Specified by:
isSystemAdminin interfaceUserService
-
authenticate
- Specified by:
authenticatein interfaceUserService
-
resolve
- Specified by:
resolvein interfaceUserService
-
setAuthenticatedUser
- Specified by:
setAuthenticatedUserin interfaceUserService
-