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 RequestAuthenticator
Request Authenticator Interface
- Since:
- v3.0
-
Method Summary
Modifier and TypeMethodDescriptiongetSecurityInformations(List<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 Details
-
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
return Security informations to put in the request headers and request parameters- Parameters:
elements- List of elements to include in the signature- Returns:
- AuthenticateRequestInformations
-