12.07.2015 Views

CA eTrust SiteMinder Developer's Guide for Java

CA eTrust SiteMinder Developer's Guide for Java

CA eTrust SiteMinder Developer's Guide for Java

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

User Access to Resources5. Audit cached authorization in<strong>for</strong>mation.Both the authentication and authorization steps log the relevantin<strong>for</strong>mation about the user, the protected resource, and the agent.However, if the agent per<strong>for</strong>ms authorizations out of its cache, thetransaction can still be logged through the audit() method.6. Allow access to resource.Now that the user’s identity is known, authorization has been verified, andthe required entitlements obtained, give the authorized user access tothe resource.7. Issue a management request.This is an optional step that is used to poll the Policy Server <strong>for</strong> updatecommands. In response to a command, agents update encryption keys orflush caches or both.When the agent is no longer needed, issue the unInit() method <strong>for</strong> each APIinstance. This closes TCP connections to all policy servers.Note: The Agent API does not provide a facility <strong>for</strong> caching in a manner thaten<strong>for</strong>ces session validity. By choosing to cache user sessions and/or resourcespecificprivileges, the agent becomes obligated to per<strong>for</strong>m its own sessionmanagement during each user request. This is required, since caching on theagent removes the need to contact the <strong>SiteMinder</strong> Policy Server to per<strong>for</strong>msession validation and/or resource authorizations.38 <strong>Developer's</strong> <strong>Guide</strong> <strong>for</strong> <strong>Java</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!