@Component
public class XlAuthenticationProvider
extends java.lang.Object
implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
XlAuthenticationProvider(com.xebialabs.deployit.security.UserService userService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication token) |
org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper |
getAuthoritiesMapper() |
void |
setAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper) |
boolean |
supports(java.lang.Class<? extends java.lang.Object> authentication) |
@Autowired public XlAuthenticationProvider(com.xebialabs.deployit.security.UserService userService)
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication token)
throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(java.lang.Class<? extends java.lang.Object> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProviderpublic org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper getAuthoritiesMapper()
public void setAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper)