Class TMAPIAuthenticationProvider
java.lang.Object
nl.b3p.planmonitorwonen.api.security.TMAPIAuthenticationProvider
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.core.Ordered
,org.springframework.security.authentication.AuthenticationProvider
@Service
public class TMAPIAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider, org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.springframework.security.core.Authentication
authenticate
(org.springframework.security.core.Authentication authentication) int
getOrder()
void
setOrder
(int i) void
setUserDetailsService
(TMAPIUserDetailsService tmapiUserDetailsService) boolean
-
Constructor Details
-
TMAPIAuthenticationProvider
public TMAPIAuthenticationProvider()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
setUserDetailsService
-
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
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int i)
-