Change configuration parameter to reflect that it throttles all signing operations.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 9 May 2005 22:07:42 +0000 (22:07 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 9 May 2005 22:07:42 +0000 (22:07 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1461 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/IdPConfig.java
src/schemas/shibboleth-idpconfig-1.0.xsd

index 673d09f..f7ae35a 100644 (file)
@@ -114,12 +114,12 @@ public class IdPConfig {
                        }
                }
 
-               attribute = ((Element) config).getAttribute("maxHSThreads");
+               attribute = ((Element) config).getAttribute("maxSigningThreads");
                if (attribute != null && !attribute.equals("")) {
                        try {
                                maxThreads = Integer.parseInt(attribute);
                        } catch (NumberFormatException e) {
-                               log.error("(maxHSThreads) attribute to is not a valid integer.");
+                               log.error("(maxSigningThreads) attribute to is not a valid integer.");
                                throw new ShibbolethConfigurationException("Configuration is invalid.");
                        }
                }
@@ -131,7 +131,7 @@ public class IdPConfig {
 
                log.debug("Global IdP config: (AAUrl) = (" + getAAUrl() + ").");
                log.debug("Global IdP config: (defaultAuthMethod) = (" + getDefaultAuthMethod() + ").");
-               log.debug("Global IdP config: (maxHSThreads) = (" + getMaxThreads() + ").");
+               log.debug("Global IdP config: (maxSigningThreads) = (" + getMaxThreads() + ").");
                log.debug("Global IdP config: (authHeaderName) = (" + getAuthHeaderName() + ").");
 
                log.debug("Global IdP config: (resolverConfig) = (" + getResolverConfigLocation() + ").");
index a72cfef..c087234 100644 (file)
                                        default="urn:oasis:names:tc:SAML:1.0:am:unspecified"/>
                                <xs:attribute name="passThruErrors" type="xs:boolean" use="optional" default="false"/>
                                <xs:attribute name="authHeaderName" type="xs:string" use="optional"/>
-                               <xs:attribute name="maxHSThreads" type="xs:integer" use="optional"/>
+                               <xs:attribute name="maxSigningThreads" type="xs:integer" use="optional"/>
                        </xs:complexType>
                </xs:element>