JAAS-reaml-tomcat7

11 Mar

COmplete Tutorial

http://www.thejavageek.com/2013/07/07/configure-jdbcrealm-jaas-for-mysql-and-tomcat-7-with-form-based-authentication/

vedere anche questo

http://stackoverflow.com/questions/12333039/how-to-set-up-a-jdbcrealm-in-apache-tomcat-7

https://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html

http://tomcat.apache.org/tomcat-7.0-doc/funcspecs/fs-jdbc-realm.html

—————————————————————————————————

attention: for declare the Realm only into Contexst.xml of the single web application and not on server.xml

http://tomcat.apache.org/tomcat-7.0-doc/config/realm.html

http://stackoverflow.com/questions/12333039/how-to-set-up-a-jdbcrealm-in-apache-tomcat-7

if the real is declared into the context.xml of the single web application. i have to set the localDataSource=true

<Realm ... localDataSource="true" />
.................................................

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: