- Start OpenAM and well configurated server.
- Create users and specificate the rol names.
- Install agentapp inside webserver
- Execute agentadmin to create a policy between webapp and openam.
All those steps require some time, in the application context we need to do some configuration in context for conclude AAA, Authentication is taking for OpenAM, Authorization is given by Spring Security and OpenAM interconnection and Accounting is doing for WebApp when it asign the corresponding roles and access to the client (by now we are going to do some federation), so here the short list of configuration for doing with Spring security:
1. First required artifact in the app:
2. Start spring context with spring security:
3. The most import part filters and connection to retry OpenAM config:
4. Create the shared cookie:
5. The amconfig properties to taking url, user and password
For the application is kind of simple for just federate permissions between components.
5. The amconfig properties to taking url, user and password
For the application is kind of simple for just federate permissions between components.
Important link:
- https://blogs.oracle.com/JohnD/entry/glassfish_domain1_opensso_domain2_policy
- https://addons.mozilla.org/en-US/firefox/addon/saml-tracer/
Best regards,