Class BearerTokenAuthenticator

  • All Implemented Interfaces:
    fr.paris.lutece.util.signrequest.RequestAuthenticator

    public class BearerTokenAuthenticator
    extends java.lang.Object
    implements fr.paris.lutece.util.signrequest.RequestAuthenticator
    BearerToken Authenticator Add the access token into the request's header
    • Constructor Summary

      Constructors 
      Constructor Description
      BearerTokenAuthenticator​(java.lang.String strAccessToken)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.util.signrequest.AuthenticateRequestInformations getSecurityInformations​(java.util.List<java.lang.String> arg0)
      boolean isRequestAuthenticated​(javax.servlet.http.HttpServletRequest request)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BearerTokenAuthenticator

        public BearerTokenAuthenticator​(java.lang.String strAccessToken)
        Constructor
        Parameters:
        strAccessToken - The access token value
    • Method Detail

      • isRequestAuthenticated

        public boolean isRequestAuthenticated​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        isRequestAuthenticated in interface fr.paris.lutece.util.signrequest.RequestAuthenticator
      • getSecurityInformations

        public fr.paris.lutece.util.signrequest.AuthenticateRequestInformations getSecurityInformations​(java.util.List<java.lang.String> arg0)
        Specified by:
        getSecurityInformations in interface fr.paris.lutece.util.signrequest.RequestAuthenticator