org.alfresco.repo.web.scripts.servlet
Class AuthenticatorServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.alfresco.repo.web.scripts.servlet.AuthenticatorServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AuthenticatorServlet
extends javax.servlet.http.HttpServlet

This servlet serves as a useful 'subroutine' for portlets, which using their request dispatcher, can go 'through the looking glass' to this servlet and use the standard Alfresco servlet api-based authentication mechanisms.

See Also:
Serialized Form

Field Summary
static java.lang.String ATTR_AUTH_STATUS
           
static java.lang.String ATTR_IS_GUEST
           
static java.lang.String ATTR_REQUIRED_AUTH
           
static java.lang.String SERVLET_NAME
           
 
Constructor Summary
AuthenticatorServlet()
           
 
Method Summary
protected  void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVLET_NAME

public static final java.lang.String SERVLET_NAME
See Also:
Constant Field Values

ATTR_IS_GUEST

public static final java.lang.String ATTR_IS_GUEST
See Also:
Constant Field Values

ATTR_REQUIRED_AUTH

public static final java.lang.String ATTR_REQUIRED_AUTH
See Also:
Constant Field Values

ATTR_AUTH_STATUS

public static final java.lang.String ATTR_AUTH_STATUS
See Also:
Constant Field Values
Constructor Detail

AuthenticatorServlet

public AuthenticatorServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse res)
                throws javax.servlet.ServletException,
                       java.io.IOException
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.