Solved

Weblogic : How-To authorize all authenticated users ?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

930 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

10 Experts available now in Live!

Get 1:1 Help Now