Solved

Weblogic : How-To authorize all authenticated users ?

Posted on 2010-09-13
5
1,279 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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 exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now