Off-list....

Do you know how 'piwowar' sounds in Russian? :) Brewer! exactly :) Cool name :)

Good luck!

-----Original Message-----
From: "Piwowar, Heather" <[EMAIL PROTECTED]>
To: 'Alex Loubyansky' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Date: Fri, 31 May 2002 13:10:03 -0400
Subject: RE: [JBoss-user] No auth prompt using security-constraint

> 
> That was it!  I went to DIGEST (which I was planning to do ultimately
> anyway) and poof it worked!  Thanks so much for taking the time to reply.
> 
> Sincerely, 
> Heather
> 
> 
> -----Original Message-----
> From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 12:43 PM
> To: [EMAIL PROTECTED]
> Cc: Piwowar, Heather
> Subject: Re: [JBoss-user] No auth prompt using security-constraint
> 
> 
> As long as I remember myself I have always been having problems with BASIC
> auth in JBoss :)) In that cases I switched to FORM and everything started to
> work properly :)
> 
> alex
> 
> -----Original Message-----
> From: "Piwowar, Heather" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]>
> Date: Fri, 31 May 2002 11:47:10 -0400
> Subject: [JBoss-user] No auth prompt using security-constraint
> 
> > I'm trying to get BASIC auth up and running for my web application. I have
> > modified my web.xml file (see below). The implementation works fine under
> > the J2EE reference implementation (I get prompted for a username and
> > password when I try to reference the page).
> > 
> > However, When I try to deploy my EAR under Jboss-2.4.4_Tomcat-4.0.1, I do
> > not get prompted for a username and password... it acts as if the
> > security-contraint is not set. There are no errors in loading the EAR or
> > showing the page (see below).
> > 
> > Any ideas? I'm feeling really stuck!
> > 
> > Thanks so much, 
> > Heather
> > 
> > 
> > 1. I'm going to the url
> > <http://localhost:8080/dataportal/filter_currentSpecimens.jsp> in IE6
> > 
> > 2. Extract my project tree under docroot/WEB-INF/web.xml
> > 
> > <security-constraint>
> > <web-resource-collection>
> > <web-resource-name>DataPortal Application</web-resource-name>
> > <url-pattern>/*</url-pattern>
> > </web-resource-collection>
> > <auth-constraint>
> > <role-name>dpuser</role-name>
> > </auth-constraint>
> > <user-data-constraint>
> > <description>SSL not required</description>
> > <transport-guarantee>NONE</transport-guarantee>
> > </user-data-constraint>
> > </security-constraint>
> > 
> > <login-config>
> > <auth-method>BASIC</auth-method>
> > <realm-name>DataPortal Application</realm-name>
> > </login-config>
> > 
> > 3. Extract from run_with_catalina as it deploys EAR and then serves page:
> > 
> > [INFO,J2eeDeployer] Deploy J2EE application:
> > file:/C:/java/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/dp_war.ear
> > [INFO,J2eeDeployer] Create application dp_war.ear
> > [INFO,J2eeDeployer] inflate and install WEB module dp_war.war
> > [INFO,ContainerFactory]
> >
> Deploying:file:/C:/java/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/dp
> > _war.ear
> > [INFO,ContainerFactory] Deployed application:
> > file:/C:/java/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/dp_war.ear
> > [INFO,J2eeDeployer] Starting module dp_war.war
> > [INFO,EmbeddedCatalinaServiceSX] deploy, ctxPath=/dataportal,
> >
> warUrl=file:/C:/java/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/dp_wa
> > r.ear/web1003/
> > [INFO,EmbeddedCatalinaServiceSX] WebappLoader[/dataportal]: Deploying
> class
> > repositories to work directory 
> > C:\java\JBoss-2.4.4_Tomcat-4.0.1\catalina\work\localhost\dataportal
> > [INFO,EmbeddedCatalinaServiceSX] StandardManager[/dataportal]: Seeding
> > random number generator class 
> > java.security.SecureRandom
> > [INFO,EmbeddedCatalinaServiceSX] StandardManager[/dataportal]: Seeding of
> > random number generator has 
> > been completed
> > [INFO,EmbeddedCatalinaServiceSX] ContextConfig[/dataportal]: Added
> > certificates -> request attribute 
> > Valve
> > [INFO,EmbeddedCatalinaServiceSX] ContextConfig[/dataportal]: Configured an
> > authenticator for method 
> > BASIC
> > [INFO,EmbeddedCatalinaServiceSX] StandardWrapper[/dataportal:default]:
> > Loading container servlet default
> > [INFO,EmbeddedCatalinaServiceSX] default: init
> > [INFO,EmbeddedCatalinaServiceSX] TemplateServlet: init
> > [INFO,EmbeddedCatalinaServiceSX] StandardWrapper[/dataportal:invoker]:
> > Loading container servlet invoker
> > [INFO,EmbeddedCatalinaServiceSX] invoker: init
> > [INFO,EmbeddedCatalinaServiceSX] jsp: init
> > [INFO,J2eeDeployer] J2EE application:
> > file:/C:/java/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/dp_war.ear 
> > is deployed.
> > [INFO,AutoDeployer] Auto deploy of
> > file:/C:/java/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/lib/jms-ra.rar
> > [INFO,RARDeployer] Attempting to deploy RAR at
> > 'file:/C:/java/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/lib/jms-ra.rar'
> > [WARN,JmsXA] Using default value 'java:DefaultJMSProvider' for config
> > property 'JmsProviderAdapterJNDI'
> > [INFO,JmsXA] FINE: Setting LogWriter:
> > org.jboss.logging.log4j.CategoryWriter@670479
> > [INFO,JmsXA] Bound connection factory for resource adapter 'JMS Adapter'
> to
> > JNDI name 'java:/JmsXA'
> > [INFO,AutoDeployer] Started
> > [INFO,JMXAdaptorService] Starting
> > [INFO,JMXAdaptorService] Started
> > [INFO,RMIConnectorService] Starting
> > [INFO,RMIConnectorService] Started
> > [INFO,MailService] Starting
> > [INFO,MailService] Mail Service 'Mail' bound to java:/Mail
> > [INFO,MailService] Started
> > [INFO,ServiceControl] Started 48 services
> > [INFO,Default] JBoss-2.4.4 Started in 0m:23s.184
> > [INFO,EmbeddedCatalinaServiceSX] jsp: init 
> > 
> > 
> > _______________________________________________________________
> > 
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> > 
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> 
> 
> -----
> �������� ���������� �������� ���� @ukr.net �� http://freemail.ukr.net
>     
> 
> 


-----
�������� ���������� �������� ���� @ukr.net �� http://freemail.ukr.net
    

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to