fr.paris.lutece.util.signrequest
Class HeaderHashAuthenticator
java.lang.Object
fr.paris.lutece.util.signrequest.AbstractAuthenticator
fr.paris.lutece.util.signrequest.HeaderHashAuthenticator
- All Implemented Interfaces:
- RequestAuthenticator
public class HeaderHashAuthenticator
- extends AbstractAuthenticator
- implements RequestAuthenticator
HeaderHashAuthenticator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderHashAuthenticator
public HeaderHashAuthenticator()
isRequestAuthenticated
public boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
- Check the Authentication of a request
- Specified by:
isRequestAuthenticated
in interface RequestAuthenticator
- Parameters:
request
- The HTTP request
- Returns:
- true if authenticated, otherwise false
authenticateRequest
public void authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method,
List<String> elements)
- Authenticate a request
- Specified by:
authenticateRequest
in interface RequestAuthenticator
- Parameters:
method
- The HTTP method to authenticateelements
- List of elements to include in the signature
Copyright © 2014 Mairie de Paris. All Rights Reserved.