Class GuestAuthenticationProvider
- java.lang.Object
-
- org.oxerr.spring.security.guest.authentication.GuestAuthenticationProvider
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class GuestAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
-
-
Constructor Summary
Constructors Constructor Description GuestAuthenticationProvider(GuestUserDetailsService guestUserDetailsService)
-
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
-
GuestAuthenticationProvider
public GuestAuthenticationProvider(GuestUserDetailsService guestUserDetailsService)
-
-
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(Class<?> authentication)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
-