• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Upgrading from Weblogic 8.1 to 10.3

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm in the process of trying to upgrade from Weblogic 8.1 to 10.3. I've installed the new server verson and made the necessary adjustments to my weblogic.xml file. When I run the application, however, I'm running into an unusual error. Upon access of the application I check the user who is trying to access my application by retrieving the remote user from the request header like so...

userID = jspRequest.getRemoteUser(); (where jspRequest is an object of type HttpServletRequest)

This statement is returning null even though when I stop the app in debug mode in eclipse and review the values in jspRequest I can see that "remoteUser" has a valid value in it. It's just not being returned by the get. Since this statement worked in Weblogic 8.1 and isn't working in 10.3 I'm only assuming there is something I missed.

Any ideas?
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By saying "remote user has a valid value in it " do you mean that this is an internal object and you are able to see the user name ?

What is the realm under which weblogic is working ? From weblogic 9.2 the user name and the group name in weblogic.xml will not be mapped automatically. You will have to mention it. This can lead to authentication errors / user info not being retrieved from the system. It is required to map the role and principal name explicitly. Here is a link

http://monduke.com/2006/01/07/weblogic-91-authorization-gotcha/

Does that help ?

If possible, post a screen shot of the object graph and a few lines of code. That will help clear the problem
 
reply
    Bookmark Topic Watch Topic
  • New Topic