Seeking Oracle out of the matrix

Google
 
Web aboutoracle.blogspot.com
Oracle New Articles
Oracle Critical Patches
Oracle jDeveloper News
Oracle Blogs of interest


This blog records my personal experience.
Latest news from the front
               

Thoughts about oracle Author's note : Thank you all for your supporting letters. You have been a motivation to this web spot's posting. I wish you all the very best for you and your families for the new year.
Interested to know about a next post? You can suscribe to my RSS feed
HOW TO:

Get the SSO user id in Oracle Forms and JSP - JSF
Tuesday, February 06, 2007
If you use SSO authentication for your applications and you need to grab the SSO User from your applications here is how you do it:



Oracle Forms



GET_APPLICATION_PROPERTY(SSO_USERID);



jDeveloper project that uses JSP and java beans



request.getHeader("OSSO_SUBSCRIBER")

or

request.getRemoteUser();





jDeveloper that uses Java Server Faces (JSF)

In your AppModuleImpl.java you can get the SSO user by calling



this.getUserPrincipalName();



posted by Admin @ 11:50 AM  
add to del.icio.us Digg it! Furl this! add to reddit! add to dzone!
1 Comments:
  • At 4:55 PM, Blogger Unknown said…

    We are using that way in Forms. but how to prevent end user change the value of sso_userid in base.html and enter to applicatios as other user?

     
Post a Comment
<< Home

About Me

Name: John Galanopoulos
Home: The NeverLands
About Me: A source code wonderer since the early 80s with my first ZX81 by Sinclair, home computer.
See my complete profile
Previous Post
Archives
Links
ΣΚΛΗΡΥΝΣΗ ΚΑΤΑ ΠΛΑΚΑΣ - ΕΓΚΕΦΑΛΟΣ - ΕΓΚΕΦΑΛΟΓΡΑΦΗΜΑ - ΑΝΟΙΑ - ΝΕΥΡΟΛΟΓΟΣ - ΨΥΧΙΑΤΡΟΣ - ΛΟΙΜΩΔΗΣ ΜΟΝΟΠΥΡΗΝΩΣΗ - ΠΑΡΚΙΝΣΟΝ - ΑΓΧΟΣ - ΚΑΤΑΘΛΙΨΗ - ALZHEIMER - EPSTEIN BARR Eurolife
Email notification

Enter your email address and get notified whenever there is a new post:

Delivered by FeedBurner

This website abides by a strict policy : no spam, just posts; and that's a promise.

Powered by

Free Blogger Templates

BLOGGER


Register for a skinnyscore at www.blogskinny.com and increase traffic
Software Blogs -  Blog Catalog Blog Directory

© 2005 Seeking Oracle out of the matrix Template by Isnaini Dot Com