Class AuthenticationConstraintHandler

  • All Implemented Interfaces:
    HttpHandler

    public class AuthenticationConstraintHandler
    extends Object
    implements HttpHandler
    Handler responsible for checking the constraints for the current request and marking authentication as required if applicable. Sub classes can override isAuthenticationRequired to provide a constraint check, by default this handler will set authentication as always required, authentication will be optional if this handler is omitted.
    Author:
    Darran Lofthouse
    • Constructor Detail

      • AuthenticationConstraintHandler

        public AuthenticationConstraintHandler​(HttpHandler next)