Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
LDAP Problem Scenerio

LDAP Problem Scenerio

2003-12-23       - By dinesh balam

 Back

Hi All,

Here is a problem that I'm presently facing and would like to have some
suggestions/soultion for this.

Problem Scenerio: Authentication/Authorization by LDAP server is not happening.

Description: I configured Websphere Application Server which comes with WSAD
with NestScape Directory server version 4.2. I created 2 groups ADMIN, USER and
few People under each group. I created two entity beans and a session facade
bean. Facade bean will be talking to entity beans. I gave certain role based
permissions to the methods in session Facade bean. Only admin has permission
for all the methods where as user is limited to certain methods. To test these
functionality WSAD provides a Universal test client, where i can give the
required parameters like SECURITY_PRINCIPAL AND SECURITY_CREDENTIAL. With this
Universal test client it is working fine as expected. Where as when i am
accessing the same with my web based struts client by passing the same
parameters as above it is not working as expected. The exception says the user
is UNATHUNICATED. Here i am giving the trace

Exception data: com.ibm.websphere.csi.CSIException: SECJ0053E: Authorization
failed for /UNAUTHENTICATED while invoking (Bean)ejb/itrm/AdminFacadeHome
getAllRoles:1 securityName: /UNAUTHENTICATED;accessID: null is not granted any
of the required roles: ADMIN USER
Thanks in Advance,Dinesh B


-- ---- ---- ---- ---- ---- -----
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square

====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<DIV>
<DIR><FONT size=2>
<P><STRONG>Hi All,</STRONG></P>
<P>Here is a problem that I'm presently facing and would like to have some
suggestions/soultion for this.</P>
<P><STRONG>Problem Scenerio:</STRONG> Authentication/Authorization by LDAP
server is not happening.</P>
<P><B>Description: </B>I configured Websphere Application Server which comes
with WSAD with NestScape Directory server version 4.2. I created 2 groups ADMIN
, USER and few People under each group. I created two entity beans and a session
facade bean. Facade bean will be talking to entity beans. I gave certain role
based permissions to the methods in session Facade bean. Only admin has
permission for all the methods where as user is limited to certain methods. To
test these functionality WSAD provides a Universal test client, where i can
give the required parameters like SECURITY_PRINCIPAL AND SECURITY_CREDENTIAL.
With this Universal test client it is working fine as expected. Where as when i
am accessing the same with my web based struts client by passing the same
parameters as above it is not working as expected. The exception says the user
is UNATHUNICATED. Here i am giving the trace </P></FONT><FONT color=#0000ff
face="Courier New" size=2>
<P></FONT><FONT color=#0000ff face="Courier New" size=2>Exception data: com.ibm
.websphere.csi.CSIException: SECJ0053E: Authorization failed </FONT><FONT color=
#0000ff face="Courier New" size=2></FONT><FONT color=#0000ff face="Courier New"
size=2>for /UNAUTHENTICATED while invoking (Bean)ejb/itrm/AdminFacadeHome
getAllRoles:1 </FONT><FONT color=#0000ff face="Courier New" size=2></FONT><FONT
color=#0000ff face="Courier New" size=2>securityName: /UNAUTHENTICATED;accessID
: null is not granted any of the required </FONT><FONT color=#0000ff face=
"Courier New" size=2></FONT><FONT color=#0000ff face="Courier New" size=2>roles:
ADMIN USER </P></FONT><FONT size=2>Thanks in Advance,</FONT></DIR>
<DIR><FONT size=2>Dinesh B</DIR></FONT></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Photos - <a href="http://us.rd.yahoo.com/evt=21486/*http://f1.pg.photos
.yahoo.com/ph//spsimplenol?.file=ny_ts_splash.html">Get your photo on the big
screen in Times Square</a>
====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.