That isn't much context to understand what you are trying to do. Normally in a javaee setting the security is configured and enforced in the application server and the application doesn't do anything beyond perhaps calling isUserInRole("someRole"). Not knowing what MemoryRealm is or where the code you quote is and is called from it is hard for me to offer any concrete advice.

thanks
david jencks

On Mar 25, 2008, at 1:46 PM, remya wrote:



Does anyone have any solutions to my issue?



remya wrote:

Hi,

My situation is as follows:-

The present application is running on tomcat, and it uses MemoryRealm code
as quoted below:

        ......
        as1 = new MemoryRealm();
        as1.start();
        flag1 = as1.authenticate(as, ((String) (obj4)));
        ......

How can I change this code or make changes to the application to suit it to geronimo security realms (property realm)? Can I change the above code to make the application adapt to the new need? Will I be able to add users
and groups from the application UI through some coding?

Thanks
Remya



--
View this message in context: http://www.nabble.com/Migrating-an- application-from-tomcat-to-geronimo-tp16138699s134p16288109.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Reply via email to