Updated stale javadoc. Bugzilla #316.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 28 Apr 2005 21:41:30 +0000 (21:41 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 28 Apr 2005 21:41:30 +0000 (21:41 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1423 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/provider/SharedMemoryShibHandle.java

index 84c7bb7..06416c2 100644 (file)
@@ -46,7 +46,7 @@ import edu.internet2.middleware.shibboleth.common.NameIdentifierMappingException
 import edu.internet2.middleware.shibboleth.common.ServiceProvider;
 
 /**
- * {@link HSNameIdentifierMapping}implementation that uses an in-memory cache to store mappings between principal names
+ * {@link NameIdentifierMapping}implementation that uses an in-memory cache to store mappings between principal names
  * and Shibboleth Attribute Query Handles.
  * 
  * @author Walter Hoehn
@@ -62,8 +62,15 @@ public class SharedMemoryShibHandle extends AQHNameIdentifierMapping implements
                super(config);
        }
 
-       public SAMLNameIdentifier getNameIdentifier(AuthNPrincipal principal, ServiceProvider sProv,
-                       IdentityProvider idProv) throws NameIdentifierMappingException {
+       /*
+        * (non-Javadoc)
+        * 
+        * @see edu.internet2.middleware.shibboleth.common.NameIdentifierMapping#getNameIdentifier(edu.internet2.middleware.shibboleth.common.AuthNPrincipal,
+        *      edu.internet2.middleware.shibboleth.common.ServiceProvider,
+        *      edu.internet2.middleware.shibboleth.common.IdentityProvider)
+        */
+       public SAMLNameIdentifier getNameIdentifier(AuthNPrincipal principal, ServiceProvider sProv, IdentityProvider idProv)
+                       throws NameIdentifierMappingException {
 
                if (principal == null) {
                        log.error("A principal must be supplied for Attribute Query Handle creation.");
@@ -83,6 +90,13 @@ public class SharedMemoryShibHandle extends AQHNameIdentifierMapping implements
 
        }
 
+       /*
+        * (non-Javadoc)
+        * 
+        * @see edu.internet2.middleware.shibboleth.common.NameIdentifierMapping#getPrincipal(org.opensaml.SAMLNameIdentifier,
+        *      edu.internet2.middleware.shibboleth.common.ServiceProvider,
+        *      edu.internet2.middleware.shibboleth.common.IdentityProvider)
+        */
        public AuthNPrincipal getPrincipal(SAMLNameIdentifier nameId, ServiceProvider sProv, IdentityProvider idProv)
                        throws NameIdentifierMappingException, InvalidNameIdentifierException {
 
@@ -164,7 +178,7 @@ class HandleCache {
                public MemoryRepositoryCleaner() {
 
                        super(
-                                       "edu.internet2.middleware.shibboleth.hs.provider.SharedMemoryShibHandle.HandleCache.MemoryRepositoryCleaner");
+                                       "edu.internet2.middleware.shibboleth.common.provider.SharedMemoryShibHandle.HandleCache.MemoryRepositoryCleaner");
                        this.master = Thread.currentThread();
                        setDaemon(true);
                        if (getPriority() > Thread.MIN_PRIORITY) {