jsf - Java EE Container Based Security -


i attempting implement jdbc realm authentication wildfly. have used article reference:

http://blog.eisele.net/2015/01/jdbc-realm-wildfly820-primefaces51.html

as accompanying source code on github @ https://github.com/myfear/simplejdbcrealmwildfly/

i presented login form if try access 1 of protected areas of application after filling in username , password never seems authenticate(loginerror.xhtml).

the difference between application , above example form specifies

  action="j_security_check"  

whereas githib example uses

onsubmit="document.loginform.action = 'j_security_check';" 

in web.xml specify

 <security-role>     <role-name>admin</role-name> </security-role> 

which matches specified user in role table..what still missing?


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -