hello all,

I try ti use tomcat security management with DataSourceRealm but I never get 
authentication console, log shows that user 'Successfully passed all
security constraints'
I declare Realm inside server.xml:

<Realm className="org.apache.catalina.realm.DataSourceRealm"
dataSourceName="jdbc/auth" userTable="USERS" userNameCol="login"
userCredCol="password" />

and security constraints on web.xml

<security-constraint>
  <display-name>TOMCAT SECURITY</display-name>
  <web-resource-collection>
   <web-resource-name>Entire Application</web-resource-name>
   <url-pattern>/*</url-pattern>   
  </web-resource-collection>
 </security-constraint>
 <login-config>
  <auth-method>BASIC</auth-method>
 </login-config>

did  I forget anything..?

thanks!


-- 
View this message in context: 
http://www.nabble.com/tomcat-5.5-DataSourceRealm--not-taken-in-charge-tp19073540p19073540.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to