Hi Poorna, you must have access to the manager-application. Otherwise you could not deploy/restart your webapp. Don't you?
If you have access to the manager-webapp, you can deploy a context.xml-file along with your realm. Please see http://yourserver:8080/manager/html/ ->Install->XML config URL You have to write a file like this: (myapp.xml) <Context displayName="my fine app" path="/my" docBase="d:/workspace/myapp" cookies="true" debug="0" reloadable="false" swallowOutput="true" cachingAllowed="true" useNaming="true"> <Realm className="org.apache.catalina.realm.MemoryRealm" debug="1" pathname="d:/private/tomcat-users.xml" /> </Context> Please try it regards, Reinhard Am Dienstag, 21. Februar 2006 08:04 schrieb Poornachandran: > Hi Mark, > > Thank you for your reply. > > I understand that context.xml has to be kept in > $CATALINA_HOME\conf\[hostname] directory. But, I cant even access the > tomcat folders. Can I somehow manage security within my application > scope only? > > Poorna > > Mark Thomas wrote: > >Poornachandran wrote: > >>Hi, > >> > >>I am in a kind of a strange situation. Basically, I need to implement > >>security using Form Based authentication in one of my webapps. But, the > >>catch here is that I cannot access any of the server's configuration > >>files. I can only work with my app specific files. > > > >Can you use a context.xml file? If so, you could define your realm in > >there. > > > >Mark > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]