Java SDK Guide › Using the Federation Manager Java SDK › Program Flow at the Relying Party Using the Legacy 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.
- The Java Application creates an implementation class for the FederationIdentity interface.
- 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.
- 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.
- 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.
|
Copyright © 2012 CA.
All rights reserved.
|
|