I want to automate my openam setup. I have a weird problem when I try to backup the policies with ssoadm
./ssoadm list-policies -u amAdmin -f /tmp/pwd.txt -e / -o /tmp/policies.txt
"null"
this is the only error that ssoadm gives to me, then If I check the error log of ssoadm I see:
""2014-07-21 09:10:22" /|com.miimetiq.identity.policy.RoleCondition id=amAdmin,ou=user,dc=openam 5753f489d4161201 "Not Available" INFO dc=openam "cn=dsameuser,ou=DSAME Users,dc=openam" AMCLI-2442 ssoadm.error"Not Available" 192.168.100.10"
Do you have any idea what is this error? anything related with dns settings of the domain maybe?
output of /etc/hosts
127.0.0.1 localhost
#127.0.1.1 test.miimetiq.com test
192.168.100.10 test.miimetiq.com test
Domain of openam is in my scenario: test.miimetiq.com:8080/openam
Any help will be appreciated.
Thanks
This may be related to your custom PolicyCondition implementation. When using ssoadm you should make sure that custom policy extensions are available on the classpath.