[java-identity-provider COMMIT] /trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErr...

noreply at shibboleth.net noreply at shibboleth.net
Tue Aug 20 18:04:27 EDT 2013


Author: scantor
Date: Tue Aug 20 18:04:26 2013
New Revision: 4709

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4709&view=rev
Log:
Add a flag for password reset.

Modified:
    trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java

Modified: trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java?rev=4709&r1=4708&r2=4709&view=diff
==============================================================================
--- trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java (original)
+++ trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java Tue Aug 20 18:04:26 2013
@@ -58,6 +58,9 @@
 
     /** Indicates at least one action detected a disabled account. */
     private boolean accountDisabled;
+
+    /** Indicates at least one action detected a password needing reset. */
+    private boolean passwordReset;
     
     /** Constructor. */
     public AuthenticationErrorContext() {
@@ -132,6 +135,15 @@
     }
 
     /**
+     * Get the password reset indicator.
+     * 
+     * @return password reset indicator
+     */
+    public boolean isPasswordReset() {
+        return passwordReset;
+    }
+    
+    /**
      * Set the unknown username indicator.
      * 
      * @param flag the indicator to set
@@ -175,5 +187,14 @@
     public void setAccountDisabled(boolean flag) {
         accountDisabled = flag;
     }
-        
+
+    /**
+     * Set the password reset indicator.
+     * 
+     * @param flag the indicator to set
+     */
+    public void setPasswordReset(boolean flag) {
+        passwordReset = flag;
+    }
+
 }



More information about the commits mailing list