org.keycloak.proxy

## Class ProxyAuthenticationCallHandler

- java.lang.Object
- - org.keycloak.proxy.ProxyAuthenticationCallHandler

- All Implemented Interfaces:
    io.undertow.server.HttpHandler

      public class ProxyAuthenticationCallHandler
      extends Object
      implements io.undertow.server.HttpHandler

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProxyAuthenticationCallHandler(io.undertow.server.HttpHandler next)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handleRequest(io.undertow.server.HttpServerExchange exchange)` Only allow the request through if successfully authenticated or if authentication is not required.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProxyAuthenticationCallHandler

          public ProxyAuthenticationCallHandler(io.undertow.server.HttpHandler next)

  - ### Method Detail

    - #### handleRequest

          public void handleRequest(io.undertow.server.HttpServerExchange exchange)
                             throws Exception

      Only allow the request through if successfully authenticated or if authentication is not required.
      Specified by:
        `handleRequest` in interface `io.undertow.server.HttpHandler`
      Throws:
        `Exception`
      See Also:
        `HttpHandler.handleRequest(io.undertow.server.HttpServerExchange)`

Copyright © 2014. All Rights Reserved.