Bug 4568

Summary: UserNamePrincipal is not serializable
Product: CoG jglobus Reporter: Jarek Gawor <gawor@mcs.anl.gov>
Component: securityAssignee: Jarek Gawor <gawor@mcs.anl.gov>
Status: RESOLVED FIXED    
Severity: normal CC: jglobus-dev@globus.org, T.Delaitre@wmin.ac.uk
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description From 2006-07-05 13:59:12
Since UserNamePrincipal is not serializable it can cause problems when creating
subscriptions in Java WS Core:

Failed to create subscription resource; nested exception is:
        org.globus.wsrf.ResourceException: Failed to store the resource;
nested exception is:
        java.io.NotSerializableException:
org.globus.gsi.jaas.UserNamePrincipal
        at
org.globus.wsrf.impl.notification.SubscriptionHome.create(SubscriptionHome.java:142)
        at
org.globus.wsrf.impl.notification.SubscribeHelper.subscribe(SubscribeHelper.java:372)
        at
org.globus.wsrf.impl.notification.SubscribeProvider.subscribe(SubscribeProvider.java:97)
------- Comment #1 From 2006-07-05 18:24:50 -------
Committed a fix to globus_4_0_branch and trunk. Updated cog-jglobus.jar of Java
WS Core in trunk and globus_4_0_branch.