User Tools

Site Tools


java_web_authentication

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
java_web_authentication [2013/11/22 14:33]
mihael
java_web_authentication [2013/11/22 15:18]
mihael
Line 64: Line 64:
  
 <note important>​If no security roles are declared either via annotations or via web.xml entries then the call to ''​isUserInRole(role)''​ will always return ''​false''​.</​note>​ <note important>​If no security roles are declared either via annotations or via web.xml entries then the call to ''​isUserInRole(role)''​ will always return ''​false''​.</​note>​
 +
 +<note important>​The entries in the //web.xml// are only used in auth for servlet based resource, like plain servlet or REST web services which are based on servlets. Auth for EJBs should put the entries in ejb-jar.xml or use that annotation //​@DeclareRoles//​.</​note>​
  
 ==== Check Role ==== ==== Check Role ====
java_web_authentication.txt ยท Last modified: 2013/11/22 15:18 by mihael