Package com.hack23.cia.service.impl
Class SecurityAuthenticationProvider
- java.lang.Object
-
- com.hack23.cia.service.impl.SecurityAuthenticationProvider
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
@Component public final class SecurityAuthenticationProvider extends java.lang.Object implements org.springframework.security.authentication.AuthenticationProvider
The Class SecurityAuthenticationProvider.
-
-
Constructor Summary
Constructors Constructor Description SecurityAuthenticationProvider()
-
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(java.lang.Class<?> authentication)
-
-
-
Method Detail
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
- Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
public boolean supports(java.lang.Class<?> authentication)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
-