Previous Topic: Using the CA SiteMinder® Federation Standalone Java SDKNext Topic: Delegated Authentication Using the Open Format Cookie


Program Flow at the Relying Party Using the Legacy Cookie

A brief description of Java SDK program flow at the relying party is following.

  1. The Java Application creates an implementation class for the FederationIdentity interface.
  2. The Java application calls the extractCookie() method to extract the cookie from the HttpServletRequest object. This method also decrypts the cookie and puts the identity attributes in the Storage Map.
  3. Alternatively, the Java application can also call the processCookie() method to extract all the attributes from a cookie object and set them in the Storage Map.
  4. The Java application can get values for all the attributes that are put in the Storage Map using the getAttributes(), getAttribute(), getAuthnContext(), getSessionID(), getNameID() and getNameIDFormat() methods.