My Exact scenario is as follows - 

I have configured tomcat-users.xml  with appuser as a user as follows 


<role rolename="admin"/>
<user username="appuser" password="appuser" roles="admin"/>

and passing these credentials through context properties while accessing
InitialCotext.  However I want to access InitialContext with any username
and password passed through context properties.

In short Tomcat-user.xml should behave like this

<user username="${tomee.user}" password="${tomee.user.pw}" roles="admin"/>


Thanks for your answer.



--
View this message in context: 
http://openejb.979440.n4.nabble.com/How-to-force-TomEE-to-authenticate-any-user-who-tries-to-access-InitialContext-tp4667306p4667308.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to