|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.shibboleth.wayf.DiscoveryServiceHandler
public class DiscoveryServiceHandler
Specific handler for each version of the Discovery Service.
| Constructor Summary | |
|---|---|
protected |
DiscoveryServiceHandler(Element config,
Hashtable<String,IdPSiteSet> federations,
Hashtable<String,Plugin> plugins,
HandlerConfig defaultConfig)
Constructor to create and configure the handler. |
| Method Summary | |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
static void |
forwardRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
IdPSite site)
Uses an HTTP Status 307 redirect to forward the user to the IdP or the SP. |
protected String |
getLocation()
The 'Name' of the service. |
protected boolean |
isDefault()
Whether this is the default service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DiscoveryServiceHandler(Element config,
Hashtable<String,IdPSiteSet> federations,
Hashtable<String,Plugin> plugins,
HandlerConfig defaultConfig)
throws ShibbolethConfigurationException
config - - DOM Element with configuration information.federations - - Supplies all known providers which will be included if so configured.plugins - - Supplies all known plugins which will be included if configured in.defaultConfig - - The default configurations.
ShibbolethConfigurationException - - if we find something odd in the config file.| Method Detail |
|---|
protected String getLocation()
protected boolean isDefault()
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
public static void forwardRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
IdPSite site)
throws WayfException
req - request under considerationres - response under constructionsite - The Idp
WayfException - if bad things happen.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||