Package org.ligoj.app.http.security
Class RestAuthenticationProvider
java.lang.Object
org.ligoj.app.http.security.AbstractAuthenticationProvider
org.ligoj.app.http.security.RestAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class RestAuthenticationProvider extends AbstractAuthenticationProvider
REST authenticated provider.
-
Constructor Summary
Constructors Constructor Description RestAuthenticationProvider() -
Method Summary
Modifier and Type Method Description protected org.springframework.security.core.Authenticationauthenticate(java.lang.String username, java.lang.String credential, java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)org.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication)Methods inherited from class org.ligoj.app.http.security.AbstractAuthenticationProvider
supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RestAuthenticationProvider
public RestAuthenticationProvider()
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) -
authenticate
protected org.springframework.security.core.Authentication authenticate(java.lang.String username, java.lang.String credential, java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-