Solved

Weblogic : How-To authorize all authenticated users ?

Posted on 2010-09-13
5
1,287 Views
Last Modified: 2013-12-10
Hello,

All is in the title : how-to authorize all authenticated users to access a set of ressource ?

If you could provide a sample or give a link to a tuto ?

Thank's in advance ;)
0
Comment
Question by:cobol60
  • 3
5 Comments
 
LVL 16

Expert Comment

by:Valeri
ID: 33661246
Probably I misunderstood the question, but...
Just make these resources available only from the places(jsp's, servlets...) accessible only for the authenticated users.
0
 
LVL 1

Author Comment

by:cobol60
ID: 33661282
that's the subject of the question : how to do that (making these ressources accessible only for the authenticated users) :

Weblogic needs apparently to map users to roles ... and we can make accessible a set of ressources to a role ... But i need to make ressources not to a role but to all authenticated users.

Alternatly i can define a role wich is granted to access ressources (for instance, a role "AUTH_USERS") in wich i could map all authenticated users ... But i don't know how.

Thanks
0
 
LVL 1

Author Comment

by:cobol60
ID: 33662515
we could make functionnal the use of a role ... defining the role in the web.xml and the membership of a user to this role in weblogic.xml.

But, i can't do that because the admin MUST be able to add some users to the application via the application (not the weblogic Console) and this user must be granted to access the application's ressources without redploying anything.

We are migrating the authentication system from a soft-coded Ldap connexion in the application to a Weblogic OpenLdapAuthenticator

Thanx
0
 
LVL 10

Expert Comment

by:ECollin
ID: 33726469
hi

you have to create and deploy a new role mapping provider in your security realm :
http://download.oracle.com/docs/cd/E14571_01/web.1111/e13718/rm.htm#i1145541

Emmanuel
0
 
LVL 1

Accepted Solution

by:
cobol60 earned 0 total points
ID: 33729061
you did NOT mention :
- Wich type of roles
- With wich parameters

You gave a link to a Weblogic Documentation ... Didn't you think i'd know the existence of these docs ?

I know you can gain some points ... But i would have been please you NOT mention the WRONG doc ... and provide the chapter n°.

Your comments is likely to : "Read the docs" ... So with this kind of comment i would NOT have to pay for beeing member of this forum.

The answer, after reading the doc, as you obliged me, was :

http://download.oracle.com/docs/cd/E14571_01/web.1111/e13747/secroles.htm#ROLES181

in § Defaults Groups \ Runtime Groups ... Use the "users" group.

A friend of mine said ... If you don't know ... Don't say anything.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JList custom Cell Renderer refresh 15 56
ForLoop Example 3 48
web application structure 18 76
arguments to jar 5 26
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question