OpenAM (OpenSSO) agent doesn't work with Realms
I have a running OpenAM (OpenSSO) server with agents configured both for top level Realm as well as for custom Realm.
I have no problems installing and running agent on webapp side as long as I use the agent defined for top level Realm.
After I install an agent defined for Custom Realm and then try to launch Tomcat I'm getting the following Exception:
Caused by: com.sun.identity.security.AMSecurityPropertiesException: AdminTokenAction:
Cannot obtain Application SSO token.
Check AMConfig.properties for the following properties