From 0a90384a9c7d840e88d9636271e8393a514647a0 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 28 Jul 2009 10:34:52 +0200 Subject: Import shibboleth ds 1.1.0 --- .../shibboleth/wayf/DiscoveryServiceHandler.html | 343 +++++++++++++++++++++ 1 file changed, 343 insertions(+) create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.html (limited to 'doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.html') diff --git a/doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.html b/doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.html new file mode 100644 index 0000000..c5f8026 --- /dev/null +++ b/doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.html @@ -0,0 +1,343 @@ + + + + + + + +DiscoveryServiceHandler (Shibboleth Discovery Service 1.1.0 Java API.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.internet2.middleware.shibboleth.wayf +
+Class DiscoveryServiceHandler

+
+java.lang.Object
+  extended by edu.internet2.middleware.shibboleth.wayf.DiscoveryServiceHandler
+
+
+
+
public class DiscoveryServiceHandler
extends Object
+ + +

+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
+ voiddoGet(javax.servlet.http.HttpServletRequest req, + javax.servlet.http.HttpServletResponse res) + +
+           
+static voidforwardRequest(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  StringgetLocation() + +
+          The 'Name' of the service.
+protected  booleanisDefault() + +
+          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
+ +

+DiscoveryServiceHandler

+
+protected DiscoveryServiceHandler(Element config,
+                                  Hashtable<String,IdPSiteSet> federations,
+                                  Hashtable<String,Plugin> plugins,
+                                  HandlerConfig defaultConfig)
+                           throws ShibbolethConfigurationException
+
+
Constructor to create and configure the handler. +

+

+
Parameters:
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. +
Throws: +
ShibbolethConfigurationException - - if we find something odd in the config file.
+
+ + + + + + + + +
+Method Detail
+ +

+getLocation

+
+protected String getLocation()
+
+
The 'Name' of the service. the path used to identify the ServiceHandler. +

+

+ +
Returns:
the path used to identify the ServiceHandler.
+
+
+
+ +

+isDefault

+
+protected boolean isDefault()
+
+
Whether this is the default service. +

+

+ +
Returns:
is it?
+
+
+
+ +

+doGet

+
+public void doGet(javax.servlet.http.HttpServletRequest req,
+                  javax.servlet.http.HttpServletResponse res)
+
+
+
+
+
+
+ +

+forwardRequest

+
+public static void forwardRequest(javax.servlet.http.HttpServletRequest req,
+                                  javax.servlet.http.HttpServletResponse res,
+                                  IdPSite site)
+                           throws WayfException
+
+
Uses an HTTP Status 307 redirect to forward the user to the IdP or the SP. +

+

+
Parameters:
req - request under consideration
res - response under construction
site - The Idp +
Throws: +
WayfException - if bad things happen.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2006-2009 Internet2. All Rights Reserved. + + -- cgit v1.1