Renamed a method parameter for clarity
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 31 May 2002 20:59:42 +0000 (20:59 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 31 May 2002 20:59:42 +0000 (20:59 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@17 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/AttributeQueryHandle.java

index 97b8024..96b9d6f 100755 (executable)
@@ -52,7 +52,7 @@ public class AttributeQueryHandle {
        /**
         * Creates a new <code>AttributeQueryHandle</code>
         * @param principal <code>String</code> representation of user that the handle should reference
-        * @param ticketLength Time in milliseconds for which the handle should be valid
+        * @param validityPeriod Time in milliseconds for which the handle should be valid
         * @param hsLocation URL of the Handle Service used to generate the AQH
         * @param key Symmetric key used to encrypt the AQH upon serialization
         * 
@@ -61,13 +61,13 @@ public class AttributeQueryHandle {
        public AttributeQueryHandle(
                String principal,
                SecretKey key,
-               long ticketLength,
+               long validityPeriod,
                String hsLocation)
                throws HandleException {
 
                this.principal = principal;
                this.creationTime = System.currentTimeMillis();
-               this.expirationTime = creationTime + ticketLength;
+               this.expirationTime = creationTime + validityPeriod;
 
                try {
                        UUIDGenerator uuidGen = UUIDGenerator.getInstance();