Rectangle 27 0

java simple login with shiro wildfly jsf and primefaces?


<resource-ref>
    <res-ref-name>jdbc/shiro-primefaces</res-ref-name>
    <res-type>javax.sql.ConnectionPoolDataSource</res-type>
    <res-auth>Container</res-auth>
    <lookup-name>java:app/jdbc/shiro-primefaces</lookup-name>
</resource-ref>
datasource.resourceName = java:jboss/datasources/mysql

You need to add the next lines to shiro.ini file with your datasource:

You need to remove, glassfish-web.xml, glassfish-resources.xml and the next lines from web.xml:

Note