Treat attribute lifetime as seconds.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 1 Feb 2003 00:29:48 +0000 (00:29 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 1 Feb 2003 00:29:48 +0000 (00:29 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@442 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/AASaml.java

index 255ed90..5400c89 100755 (executable)
@@ -148,7 +148,7 @@ public class AASaml {
                        SAMLStatement statement = new SAMLAttributeStatement(rSubject, attrs);
                    
                        if(min > 0)
-                           then = new Date(now.getTime() + min);
+                           then = new Date(now.getTime() + (min*1000));
         
                        SAMLAssertion sAssertion = new SAMLAssertion(
                                 myName,