Class XlAuthenticationProvider
- java.lang.Object
-
- com.xebialabs.deployit.security.authentication.XlAuthenticationProvider
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
@Component public class XlAuthenticationProvider extends java.lang.Object implements org.springframework.security.authentication.AuthenticationProvider
-
-
Constructor Summary
Constructors Constructor Description XlAuthenticationProvider(com.xebialabs.deployit.security.UserService userService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication token)org.springframework.security.core.authority.mapping.GrantedAuthoritiesMappergetAuthoritiesMapper()voidsetAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper)booleansupports(java.lang.Class<?> authentication)
-
-
-
Method Detail
-
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
public boolean supports(java.lang.Class<?> authentication)
- 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)
-
-