Q&A Categories

Oracle Identity & Access Manager Interview Questions and Answers

Explain how Form login works if the form login page is present in different domain from OAM?

Answer #1

The mechanism here is same as how the multi domain SSO works. Importantly, all of the activities for form authentication are carried out between the browser and one web server. 
Now, suppose you want to access a resource http://www.B.com/pageB.html but still be authenticated by the login form on http://www.A.com.

  • The authentication scheme required by pageB needs to have a redirect URL set to http://www.A.com. 
  • The WebGate at http://www.B.com redirects you to the NetPoint URL obrareq.cgi on http://www.A.com, with a query string that contains the original request (wu and wh).
  • The WebGate on http://www.A.com will determine that you need to do a form login for that resource, so it will set the ObFormLoginCookie with the wu and wh values from the query string, but will set the ru field to /obrareq.cgi. WebGate on A then redirects your browser to the login form on A. 
  • When you post your credentials back to A, the ObFormLoginCookie is set back. WebGate on A authenticates your userid and password, sets the ObSSOCookie for the .A.com domain and redirects you back to the ru value from the ObFormLoginCookie, which is /obrareq.cgi.
  • This time when your browser requests http://www.A.com/obrareq.cgi, it will pass the ObSSOCookie. 
  • WebGate will then redirect your browser back to the B webserver, http://www.B.com/obrar.cgi, with the cookie value and the original URL in the query string.
  • The WebGate on http://www.B.com will extract the cookie value and set the ObSSOCookie for domain .B.com, and finally redirect you to http://www.B.com/pageB.html that you originally requested.

Agree With Answer Thumb up 0 Thumb down 0

Answers Answered By: helloraj [183 Blue Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Hot Interview Questions of Oracle Identity & Access Manager

Star Points Scale

Earn points for Posting and Commenting Papers!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]