Package fr.paris.lutece.util.signrequest
Interface RequestAuthenticator
-
- All Known Implementing Classes:
AbstractAuthenticator,AbstractJWTAuthenticator,AbstractJWTRSAAuthenticator,AbstractPrivateKeyAuthenticator,BasicAuthorizationAuthenticator,ClientHeaderHashAuthenticator,HeaderHashAuthenticator,IPAuthentificator,JWTNoEncryptionAuthenticator,JWTRSAKeyStoreFileAuthenticator,JWTRSAPlainTextAuthenticator,JWTRSATrustStoreFileAuthenticator,JWTSecretKeyAuthenticator,NoSecurityAuthenticator,RequestHashAuthenticator
public interface RequestAuthenticatorRequest Authenticator Interface- Since:
- v3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticateRequestInformationsgetSecurityInformations(java.util.List<java.lang.String> elements)return Security informations to put in the request headers and request parametersbooleanisRequestAuthenticated(javax.servlet.http.HttpServletRequest request)Check the Authentication of a request
-
-
-
Method Detail
-
isRequestAuthenticated
boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
Check the Authentication of a request- Parameters:
request- The HTTP request- Returns:
- true if authenticated, otherwise false
-
getSecurityInformations
AuthenticateRequestInformations getSecurityInformations(java.util.List<java.lang.String> elements)
return Security informations to put in the request headers and request parameters- Parameters:
elements- List of elements to include in the signature- Returns:
- AuthenticateRequestInformations
-
-