explicity set force and passive authentication flags
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 18 Mar 2008 08:00:40 +0000 (08:00 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 18 Mar 2008 08:00:40 +0000 (08:00 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2703 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/authn/provider/AbstractLoginHandler.java
src/edu/internet2/middleware/shibboleth/idp/authn/provider/PreviousSessionLoginHandler.java

index dfec4a3..fb9a349 100644 (file)
@@ -41,6 +41,8 @@ public abstract class AbstractLoginHandler implements LoginHandler {
     /** Constructor. */
     protected AbstractLoginHandler(){
         supportedAuthenticationMethods = new ArrayList<String>();
+        supportsForceAuthentication = false;
+        supportsPassive = false;
     }
     
     /** {@inheritDoc} */
@@ -68,9 +70,9 @@ public abstract class AbstractLoginHandler implements LoginHandler {
     }
 
     /**
-     * Sets whether this handler supports foreced re-authentication.
+     * Sets whether this handler supports forced re-authentication.
      * 
-     * @param supported whether this handler supports foreced re-authentication
+     * @param supported whether this handler supports forced re-authentication
      */
     public void setSupportsForceAuthentication(boolean supported) {
         supportsForceAuthentication = supported;
index 5b05b9f..02f073d 100644 (file)
@@ -55,6 +55,7 @@ public class PreviousSessionLoginHandler extends AbstractLoginHandler {
     public PreviousSessionLoginHandler() {
         super();
         servletPath = null;
+        setSupportsForceAuthentication(false);
     }
 
     /**