lmk wrote: > 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>
<auth-constraint> <role-name>someusertype</role-name> <auth-constraint> > </security-constraint> > <login-config> > <auth-method>BASIC</auth-method> > </login-config> <security-role> <role-name>someusertype</role-name> </security-role> p > did I forget anything..? > > thanks! > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]