I did following steps to implement SSO but getting token exception so that my tomcat is not getting started ,
-
I have installed Openam server on my machine on one tomcat instance which is my identity repository. My openam server is working fine. I have created the user on openam server for SSO who is going to access our application.
-
And J2EE policy agent in another tomcat to protect our application on the same machine. but when i am going to start the that tomcat instance to acces application i am facing following exception.
[AgentException Stack]
com.sun.identity.agents.arch.AgentException: ApplicationSSOTokenProvider.getApplicationSSOToken(): Unable to get Application SSO Token
at com.sun.identity.agents.common.ApplicationSSOTokenProvider.getApplicationSSOToken(ApplicationSSOTokenProvider.java:81)
at com.sun.identity.agents.arch.AgentConfiguration.setAppSSOToken(AgentConfiguration.java:616)
at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:722)
at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1140)
at com.sun.identity.agents.arch.AgentConfiguration.(AgentConfiguration.java:1579)
at com.sun.identity.agents.arch.Manager.(Manager.java:643)
at com.sun.identity.agents.tomcat.v6.AmTomcatRealm.(AmTomcatRealm.java:64)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
can you please suggest any solution for that. is it due to FQDN?
There are a few things that might go wrong, some thoughts:
You can find detailed explanation about configuring J2EE Policy agents on Tomcat here.