Package com.gigaspaces.security.openid
Class RootUserAuthenticationProvider
java.lang.Object
com.gigaspaces.security.openid.RootUserAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class RootUserAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
-
Constructor Summary
ConstructorsConstructorDescriptionRootUserAuthenticationProvider(org.springframework.cache.Cache cache, String issuerUri, org.springframework.web.client.RestTemplate restTemplate) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) boolean
-
Constructor Details
-
RootUserAuthenticationProvider
public RootUserAuthenticationProvider(org.springframework.cache.Cache cache, String issuerUri, org.springframework.web.client.RestTemplate restTemplate)
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticatein interfaceorg.springframework.security.authentication.AuthenticationProvider- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-