I think the serialization code is in the
org.globus.delegation.service.DelegationResource store() and load()
methods in
ws-delegation/service/java/source/src/org/globus/delegation/service/DelegationResource.java
which use java.io.ObjectInputStream and java.io.ObjectOutputStream.

On 1/25/11 1:50 AM, Christopher Kunz wrote:
> Hi,
> 
> I'm writing here in the hopes that someone has an idea about what I'm
> seeing (and/or could maybe forward to gt-dev).
> 
> I'm trying to manually deserialize the contents of the
> .globus/persisted/<ip-port>/DelegatedResource directory on a GT 4.0.x
> container. The serialized files contain the credentials (which I'm after
> for my Auditing project), but these aren't fully plaintext. There's
> control characters in regular distances within the credentials,
> rendering them unusable.
> 
> I have manually found out that the characters are a "z", followed by two
> to four bytes of non-ASCII stuff. However, I have got no idea what
> brings them there.
> 
>>From browsing the source I think I have deducted that the serialization
> process inherits from the BeanSerialization class, but I'm not sure
> where exactly the DelegatedResource handling is in the Container code.
> 
> Can someone point me in the right direction?
> 
> Regards,
> 
> --ck

Reply via email to