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

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

index 9b2ae8f..dc47e40 100644 (file)
@@ -1,3 +1,4 @@
+
 package edu.internet2.middleware.shibboleth.common.provider;
 
 import java.util.regex.Matcher;
 package edu.internet2.middleware.shibboleth.common.provider;
 
 import java.util.regex.Matcher;
@@ -18,7 +19,7 @@ import edu.internet2.middleware.shibboleth.common.NameIdentifierMappingException
 import edu.internet2.middleware.shibboleth.common.ServiceProvider;
 
 /**
 import edu.internet2.middleware.shibboleth.common.ServiceProvider;
 
 /**
- * <code>HSNameIdentifierMapping</code> implementation that translates principal names to E-Auth compliant
+ * <code>NameIdentifierMapping</code> implementation that translates principal names to E-Auth compliant
  * X509SubjectNames.
  * 
  * @author Walter Hoehn
  * X509SubjectNames.
  * 
  * @author Walter Hoehn
@@ -70,7 +71,6 @@ public class X509SubjectNameNameIdentifierMapping extends BaseNameIdentifierMapp
         *      edu.internet2.middleware.shibboleth.common.ServiceProvider,
         *      edu.internet2.middleware.shibboleth.common.IdentityProvider)
         */
         *      edu.internet2.middleware.shibboleth.common.ServiceProvider,
         *      edu.internet2.middleware.shibboleth.common.IdentityProvider)
         */
-
        public AuthNPrincipal getPrincipal(SAMLNameIdentifier nameId, ServiceProvider sProv, IdentityProvider idProv)
                        throws NameIdentifierMappingException, InvalidNameIdentifierException {
 
        public AuthNPrincipal getPrincipal(SAMLNameIdentifier nameId, ServiceProvider sProv, IdentityProvider idProv)
                        throws NameIdentifierMappingException, InvalidNameIdentifierException {
 
@@ -92,12 +92,12 @@ public class X509SubjectNameNameIdentifierMapping extends BaseNameIdentifierMapp
        /*
         * (non-Javadoc)
         * 
        /*
         * (non-Javadoc)
         * 
-        * @see edu.internet2.middleware.shibboleth.hs.HSNameIdentifierMapping#getNameIdentifierName(edu.internet2.middleware.shibboleth.common.AuthNPrincipal,
+        * @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)
         */
         *      edu.internet2.middleware.shibboleth.common.ServiceProvider,
         *      edu.internet2.middleware.shibboleth.common.IdentityProvider)
         */
-       public SAMLNameIdentifier getNameIdentifier(AuthNPrincipal principal, ServiceProvider sProv,
-                       IdentityProvider idProv) throws NameIdentifierMappingException {
+       public SAMLNameIdentifier getNameIdentifier(AuthNPrincipal principal, ServiceProvider sProv, IdentityProvider idProv)
+                       throws NameIdentifierMappingException {
 
                try {
                        return new SAMLNameIdentifier(internalNameContext.replaceAll("%PRINCIPAL%", principal.getName()),
 
                try {
                        return new SAMLNameIdentifier(internalNameContext.replaceAll("%PRINCIPAL%", principal.getName()),