Class BearerTokenAuthenticator

java.lang.Object
fr.paris.lutece.plugins.oauth2.service.BearerTokenAuthenticator
All Implemented Interfaces:
fr.paris.lutece.util.signrequest.RequestAuthenticator, Serializable

public class BearerTokenAuthenticator extends Object implements fr.paris.lutece.util.signrequest.RequestAuthenticator, Serializable
BearerToken Authenticator Add the access token into the request's header
See Also:
  • Constructor Details

    • BearerTokenAuthenticator

      public BearerTokenAuthenticator(String strAccessToken)
      Constructor
      Parameters:
      strAccessToken - The access token value
  • Method Details

    • isRequestAuthenticated

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

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