Re: Problem using Custom Security Realm with MyLoginModule and MyPrincipal
Web app adds a dependency to myloginmodule-1.0.jar in the repository but not the security realm. Thanks, VamsiOn 8/3/06, Aaron Mulder <[EMAIL PROTECTED]> wrote: Does the environment for your web app list a dependency on the security realm?Thanks, AaronOn 8/3/06, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote: > Hi,>> I have deployed a Custom Security Realm using MyLoginModule and MyPrincipal> classes. I have configured a simple web application to authenticate against> this realm. Even though the login succeeds, I am getting an HTTP 403 > Forbidden error. But everything works fine if I change MyLoginModule to use> org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal> instead of MyPrincipal and change the deployment plan for my web app > accordingly. I guess this has to do something with the class loaders.>> Any ideas on what is happening and how to fix this?>> Thanks,> Vamsi>>>
Re: Problem using Custom Security Realm with MyLoginModule and MyPrincipal
On Aug 3, 2006, at 7:35 AM, Vamsavardhana Reddy wrote: Hi, I have deployed a Custom Security Realm using MyLoginModule and MyPrincipal classes. I have configured a simple web application to authenticate against this realm. Even though the login succeeds, I am getting an HTTP 403 Forbidden error. But everything works fine if I change MyLoginModule to use org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal instead of MyPrincipal and change the deployment plan for my web app accordingly. I guess this has to do something with the class loaders. Any ideas on what is happening and how to fix this? You might be right about the classloaders or there might be another problem. I suggest putting a breakpoint in PolicyConfigurationGeneric.implies and stepping through the authorization decision to find out what is going on. If you get stuck please post the code and I'll try to figure it out. thanks david jencks Thanks, Vamsi
Re: Problem using Custom Security Realm with MyLoginModule and MyPrincipal
Does the environment for your web app list a dependency on the security realm? Thanks, Aaron On 8/3/06, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote: Hi, I have deployed a Custom Security Realm using MyLoginModule and MyPrincipal classes. I have configured a simple web application to authenticate against this realm. Even though the login succeeds, I am getting an HTTP 403 Forbidden error. But everything works fine if I change MyLoginModule to use org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal instead of MyPrincipal and change the deployment plan for my web app accordingly. I guess this has to do something with the class loaders. Any ideas on what is happening and how to fix this? Thanks, Vamsi
Problem using Custom Security Realm with MyLoginModule and MyPrincipal
Hi, I have deployed a Custom Security Realm using MyLoginModule and MyPrincipal classes. I have configured a simple web application to authenticate against this realm. Even though the login succeeds, I am getting an HTTP 403 Forbidden error. But everything works fine if I change MyLoginModule to use org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal instead of MyPrincipal and change the deployment plan for my web app accordingly. I guess this has to do something with the class loaders. Any ideas on what is happening and how to fix this? Thanks, Vamsi