Spiffy UI Framework

org.spiffyui.server
Class AuthServlet

java.lang.Object
  extended by HttpServlet
      extended by org.spiffyui.server.AuthServlet

public final class AuthServlet
extends HttpServlet

This servlet is a passthrough for authentication requests.


Field Summary
static java.lang.String CONTENT_TYPE
          This is the default content type for an HTML file.
static java.lang.String INVALID_JSON_RESPONSE
          This is a constant indicating the authentication server returned invalid JSON
 
Constructor Summary
AuthServlet()
           
 
Method Summary
 void service(HttpServletRequest request, HttpServletResponse response)
           
static void setUrlValidator(AuthURLValidator validator)
          Sets the URL validator for this authentication servlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID_JSON_RESPONSE

public static final java.lang.String INVALID_JSON_RESPONSE
This is a constant indicating the authentication server returned invalid JSON

See Also:
Constant Field Values

CONTENT_TYPE

public static final java.lang.String CONTENT_TYPE
This is the default content type for an HTML file.

See Also:
Constant Field Values
Constructor Detail

AuthServlet

public AuthServlet()
Method Detail

setUrlValidator

public static void setUrlValidator(AuthURLValidator validator)
Sets the URL validator for this authentication servlet.

Parameters:
validator - the validator

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    java.io.IOException
Throws:
ServletException
java.io.IOException

Spiffy UI Framework