edu.internet2.middleware.shibboleth.idp.authn.provider
Class RemoteUserAuthServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.internet2.middleware.shibboleth.idp.authn.provider.RemoteUserAuthServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class RemoteUserAuthServlet
- extends javax.servlet.http.HttpServlet
Extracts the REMOTE_USER and places it in a request attribute to be used by the authentication engine.
By default, this Servlet assumes that the authentication method
urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport to be returned to the authentication
engine. This can be override by setting the servlet configuration parameter authnMethod.
- See Also:
- Serialized Form
|
Method Summary |
void |
init(javax.servlet.ServletConfig config)
|
protected void |
service(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
|
| 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, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serial version UID.
- See Also:
- Constant Field Values
log
private final org.slf4j.Logger log
- Class logger.
authenticationMethod
private String authenticationMethod
- The authentication method returned to the authentication engine.
RemoteUserAuthServlet
public RemoteUserAuthServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
-
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
service
protected void service(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws javax.servlet.ServletException,
IOException
-
- Overrides:
service in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 1999-2012. All Rights Reserved.