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 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:
      authenticate in interface org.springframework.security.authentication.AuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException
    • supports

      public boolean supports(Class<?> authentication)
      Specified by:
      supports in interface org.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)