directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r552150 - /directory/triplesec/trunk/store/src/test/java/org/safehaus/triplesec/store/ProfileFactoryITest.java
Date Sat, 30 Jun 2007 14:16:08 GMT
Author: akarasulu
Date: Sat Jun 30 07:16:08 2007
New Revision: 552150

URL: http://svn.apache.org/viewvc?view=rev&rev=552150
Log:
fixing integ test breakage due to not setting tokenPin which is required by the safehausProfile
objectclass

Modified:
    directory/triplesec/trunk/store/src/test/java/org/safehaus/triplesec/store/ProfileFactoryITest.java

Modified: directory/triplesec/trunk/store/src/test/java/org/safehaus/triplesec/store/ProfileFactoryITest.java
URL: http://svn.apache.org/viewvc/directory/triplesec/trunk/store/src/test/java/org/safehaus/triplesec/store/ProfileFactoryITest.java?view=diff&rev=552150&r1=552149&r2=552150
==============================================================================
--- directory/triplesec/trunk/store/src/test/java/org/safehaus/triplesec/store/ProfileFactoryITest.java
(original)
+++ directory/triplesec/trunk/store/src/test/java/org/safehaus/triplesec/store/ProfileFactoryITest.java
Sat Jun 30 07:16:08 2007
@@ -122,6 +122,14 @@
             "telephonenumber: +1 904 982 6882\n" +
             "facsimiletelephonenumber: +1 904 982 6883\n" +
             "safehausNotifyBy: sms\n" +
+            "safehausUid: akarasulu2\n" +
+            "safehausRealm: example.com\n" +
+            "safehausLabel: example\n" +
+            "safehausFactor: 1234556\n" +
+            "safehausSecret: blahblahblah\n" +
+            "safehausResynchCount: 2\n" +
+            "safehausFailuresInEpoch: 0\n" +
+            "safehausTokenPin: 1234\n" +
             "roomnumber: 666\n" +
             "userPassword: maxwell\n";
 
@@ -140,7 +148,8 @@
         modifier.setUserId( "akarasulu2" );
         modifier.setRealm( "example.com" );
         modifier.setResynchCount( 2 );
-
+        modifier.setTokenPin( "1234" );
+        
         sysRoot.bind( "uid=akarasulu2", modifier.getServerProfile(), attributes );
         Attributes reload = sysRoot.getAttributes( "uid=akarasulu2" );
         assertNotNull( reload );



Mime
View raw message