[java-identity-provider COMMIT] /trunk/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolve...

noreply at shibboleth.net noreply at shibboleth.net
Wed Sep 18 12:02:34 EDT 2013


Author: scantor
Date: Wed Sep 18 12:02:33 2013
New Revision: 4775

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4775&view=rev
Log:
Adjust for session API changes.

Modified:
    trunk/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/ad/TestContextContainer.java

Modified: trunk/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/ad/TestContextContainer.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/ad/TestContextContainer.java?rev=4775&r1=4774&r2=4775&view=diff
==============================================================================
--- trunk/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/ad/TestContextContainer.java (original)
+++ trunk/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/ad/TestContextContainer.java Wed Sep 18 12:02:33 2013
@@ -31,8 +31,9 @@
             }
         });
         
-        final IdPSession idpSession = new IdPSession("sessionId", new byte[2]);
-        final ServiceSession serviceSession = new ServiceSession("serviceSession", event);
+        final IdPSession idpSession = new IdPSession("sessionId", principalName);
+        idpSession.addAuthenticationResult(event);
+        final ServiceSession serviceSession = new ServiceSession("serviceSession", authnMethod);
         idpSession.addServiceSession(serviceSession);
     }
 



More information about the commits mailing list