Previous Topic: Using the Federation Manager Java SDK

Next Topic: Program Flow at the Relying Party Using the Legacy Cookie

Program Flow at the Relying Party Using the Open Format Cookie

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

  1. The Java Application creates an implementation class of the IFederationOpenIdentity interface using the IdentityFactory 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.