Class XlAuthenticationProvider
java.lang.Object
com.xebialabs.deployit.security.authentication.XlAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
@Component
public class XlAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
-
Constructor Summary
ConstructorsConstructorDescriptionXlAuthenticationProvider(com.xebialabs.deployit.security.UserService userService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication token) org.springframework.security.core.authority.mapping.GrantedAuthoritiesMappervoidsetAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper) boolean
-
Constructor Details
-
XlAuthenticationProvider
@Autowired public XlAuthenticationProvider(com.xebialabs.deployit.security.UserService userService)
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication token) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticatein interfaceorg.springframework.security.authentication.AuthenticationProvider- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-
getAuthoritiesMapper
public org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper getAuthoritiesMapper() -
setAuthoritiesMapper
public void setAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper)
-