[java-identity-provider COMMIT] in /trunk/idp-session-impl/src: main/java/net/shibboleth/idp/session/impl/StorageBack...

noreply at shibboleth.net noreply at shibboleth.net
Tue Sep 24 22:08:35 EDT 2013


Author: scantor
Date: Tue Sep 24 22:08:34 2013
New Revision: 4796

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4796&view=rev
Log:
Unit test for IdP session serializer.

Added:
    trunk/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/StorageBackedIdPSessionSerializerTest.java   (with props)
    trunk/idp-session-impl/src/test/resources/data/net/shibboleth/idp/session/impl/basicIdPSession.json
    trunk/idp-session-impl/src/test/resources/data/net/shibboleth/idp/session/impl/complexIdPSession.json
    trunk/idp-session-impl/src/test/resources/data/net/shibboleth/idp/session/impl/noName.json
Modified:
    trunk/idp-session-impl/src/main/java/net/shibboleth/idp/session/impl/StorageBackedIdPSession.java

Modified: trunk/idp-session-impl/src/main/java/net/shibboleth/idp/session/impl/StorageBackedIdPSession.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-session-impl/src/main/java/net/shibboleth/idp/session/impl/StorageBackedIdPSession.java?rev=4796&r1=4795&r2=4796&view=diff
==============================================================================
--- trunk/idp-session-impl/src/main/java/net/shibboleth/idp/session/impl/StorageBackedIdPSession.java (original)
+++ trunk/idp-session-impl/src/main/java/net/shibboleth/idp/session/impl/StorageBackedIdPSession.java Tue Sep 24 22:08:34 2013
@@ -71,31 +71,31 @@
     /** {@inheritDoc} */
     public void setLastActivityInstant(long instant) throws SessionException {
         // TODO Auto-generated method stub
-        
+        super.setLastActivityInstant(instant);
     }
 
     /** {@inheritDoc} */
     public void addAuthenticationResult(AuthenticationResult result) throws SessionException {
         // TODO Auto-generated method stub
-        
+        super.addAuthenticationResult(result);
     }
 
     /** {@inheritDoc} */
     public boolean removeAuthenticationResult(AuthenticationResult result) throws SessionException {
         // TODO Auto-generated method stub
-        return false;
+        return super.removeAuthenticationResult(result);
     }
 
     /** {@inheritDoc} */
     public void addServiceSession(ServiceSession serviceSession) throws SessionException {
         // TODO Auto-generated method stub
-        
+        super.addServiceSession(serviceSession);
     }
 
     /** {@inheritDoc} */
-    public boolean removeServiceSession(ServiceSession session) throws SessionException {
+    public boolean removeServiceSession(ServiceSession serviceSession) throws SessionException {
         // TODO Auto-generated method stub
-        return false;
+        return super.removeServiceSession(serviceSession);
     }
     
     /** {@inheritDoc} */



More information about the commits mailing list