[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
About storing java object
Hi all.
I use openSSL0.9.6a on Solaris2.6.
I want to store java object as attribute(serialize object) .
I added java.schema in slapd.conf.
And I tried ....
I wrote following LDIF file.
dn: cn=Java test,ou=test,dc=aaa, dc=aa, dc=ccc
javaClassName: TestObject
objectclass: javaSerializedObject
javaSerializedData: /usr/local/testLDAP/contents/test32743
This result is OK.
And I tested.
ldapsearch -x -b 'cn=Java test,ou=test,dc=aaa, dc=bb, dc=cc'
'(objectclass=*)'
The resurt is as follows,
version: 2
#
# filter: (objectclass=*)
# requesting: ALL
#
# Java test,test,dc=aaa, dc=bb, dc=cc
dn: cn=Java test,ou=test,dc=aaa, dc=or, bb=cc
objectClass: javaSerializedObject
javaClassName: TestObject
javaSerializedData: /usr/local/testLDAP/contents/test32743
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
***************************
I want to get object, not path.
If anyone knows about this, please advice me.
Thanks.
//midori@foresee.or.jp