*** empty log message ***
authordousti <dousti@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 18 Jun 2002 18:53:25 +0000 (18:53 +0000)
committerdousti <dousti@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 18 Jun 2002 18:53:25 +0000 (18:53 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@144 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aaLocal/attributes/eduPersonPrincipalName.java

index 69be275..5d4dc46 100644 (file)
@@ -16,7 +16,7 @@ public class eduPersonPrincipalName implements ShibAttribute{
        int x = eppn.indexOf("@") ;
        System.out.println("EPPN: "+eppn+"    @ at "+x);
        if(x > 0){
-           vals[0] = eppn.substring(0,x);
+           vals[0] = eppn.substring(0,x-1);
            scopes[0] = eppn.substring(x+1);
        }else{
            vals[0] = eppn;