org.exoplatform.services.security.cas.client.impl
Class BaseHTTPUsernamePasswordValidatorImpl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.exoplatform.services.security.cas.client.AbstractHTTPUsernamePasswordValidator
org.exoplatform.services.security.cas.client.impl.BaseHTTPUsernamePasswordValidatorImpl
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public final class BaseHTTPUsernamePasswordValidatorImpl
- extends AbstractHTTPUsernamePasswordValidator
- Version:
- $Id: $
- Author:
- Andrey Parfonov
- See Also:
- Serialized Form
|
Method Summary |
protected org.exoplatform.container.ExoContainer |
getContainer()
|
protected void |
sendFailMessage(javax.servlet.http.HttpServletResponse httpResponse,
java.lang.String principal)
For customize authentication fail message. |
protected void |
sendSuccessMessage(javax.servlet.http.HttpServletResponse httpResponse,
java.lang.String principal)
For customize authentication success message. |
| 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 |
BaseHTTPUsernamePasswordValidatorImpl
public BaseHTTPUsernamePasswordValidatorImpl()
sendSuccessMessage
protected void sendSuccessMessage(javax.servlet.http.HttpServletResponse httpResponse,
java.lang.String principal)
throws java.io.IOException
- For customize authentication success message.
- Specified by:
sendSuccessMessage in class AbstractHTTPUsernamePasswordValidator
- Parameters:
httpResponse - the HTTPServletResponse.principal - the principal's name.
- Throws:
java.io.IOException - if i/o error occurs.
sendFailMessage
protected void sendFailMessage(javax.servlet.http.HttpServletResponse httpResponse,
java.lang.String principal)
throws java.io.IOException
- For customize authentication fail message.
- Specified by:
sendFailMessage in class AbstractHTTPUsernamePasswordValidator
- Parameters:
httpResponse - the HTTPServletResponse.principal - the principal's name.
- Throws:
java.io.IOException - if i/o error occurs.
getContainer
protected org.exoplatform.container.ExoContainer getContainer()
-
- Specified by:
getContainer in class AbstractHTTPUsernamePasswordValidator
- Returns:
- the actual container.
Copyright © 2010 eXo Platform SAS. All Rights Reserved.