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
REST authenticated provider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.core.Authenticationauthenticate(String username, String credential, 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
supports
-
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(String username, String credential, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-