?
Solved

Weblogic : How-To authorize all authenticated users ?

Posted on 2010-09-13
5
Medium Priority
?
1,311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

718 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