Package edu.vt.middleware.ldap.ed.spring
Class AbstractEdAuthAuthenticationProvider
- java.lang.Object
-
- edu.vt.middleware.ldap.ed.spring.AbstractEdAuthAuthenticationProvider
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
- Direct Known Subclasses:
EdAuthAuthenticationProvider
,LoginAuthenticationProvider
public abstract class AbstractEdAuthAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
Base class to provide drop in authentication provider for spring-security 3.2.x.- Author:
- Middleware Services
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
logger
Class logger instance.
-
Constructor Summary
Constructors Constructor Description AbstractEdAuthAuthenticationProvider(EdAuthService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
boolean
supports(Class<?> authentication)
-
-
-
Constructor Detail
-
AbstractEdAuthAuthenticationProvider
public AbstractEdAuthAuthenticationProvider(EdAuthService service)
-
-
Method Detail
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
- Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
supports
public boolean supports(Class<?> authentication)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
-