|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.internet2.middleware.shibboleth.wayf.WayfService
public class WayfService
A servlet implementation of the Shibboleth WAYF service. Allows a browser user to select from among a group of origin sites. User selection is optionally cached and the user is forwarded to the HandleService appropriate to his selection.
| Field Summary | |
|---|---|
private List<DiscoveryServiceHandler> |
discoveryServices
All the different Discovery Services we deal with. |
private static Logger |
LOG
Handle for outputting error and other messages. |
private LogbackLoggingService |
logService
Logging service. |
private static long |
serialVersionUID
Required constant for serialization. |
private String |
wayfConfigFileLocation
Where to get the configuration. |
| Constructor Summary | |
|---|---|
WayfService()
|
|
| Method Summary | |
|---|---|
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Handle an HTTP GET. |
void |
init()
Initialize the Discovery Service. |
private DiscoveryServiceHandler |
lookupServiceHandler(HttpServletRequest req)
Given a request (an HTTP Get) find the apropriate DiscoveryService (from the name). |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, 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 |
| Field Detail |
|---|
private static final long serialVersionUID
private static final Logger LOG
private String wayfConfigFileLocation
private LogbackLoggingService logService
private List<DiscoveryServiceHandler> discoveryServices
| Constructor Detail |
|---|
public WayfService()
| Method Detail |
|---|
public void init()
throws ServletException
init in class GenericServletServletException - in the case of something bad happening
public void doGet(HttpServletRequest req,
HttpServletResponse res)
doGet in class HttpServletreq - described the request.res - contains the response.HttpServlet.doGet(HttpServletRequest, HttpServletResponse)private DiscoveryServiceHandler lookupServiceHandler(HttpServletRequest req)
req - described the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||