Class ConfidentialAuthorizer

  • All Implemented Interfaces:
    Uniform

    public class ConfidentialAuthorizer
    extends Authorizer
    Authorizer allowing only confidential calls. Confidential calls typically come through HTTPS server connectors.
    Author:
    Jerome Louvel
    • Constructor Detail

      • ConfidentialAuthorizer

        public ConfidentialAuthorizer()
    • Method Detail

      • authorize

        public boolean authorize​(Request request,
                                 Response response)
        Authorizes the request only if its method is one of the authorized methods.
        Specified by:
        authorize in class Authorizer
        Parameters:
        request - The request sent.
        response - The response to update.
        Returns:
        True if the authorization succeeded.