I investigate on the code and found that it is caused by the custom Valve:
public class SSOAgentValve extends ValveBase implements Lifecycle,
SessionListener {
...
    public void invoke(Request request, Response response) throws
IOException, ServletException {
        Realm realm = request.getContext().getRealm()
        // This realm is the
org.apache.geronimo.tomcat.realm.TomcatGeronimoRealm instance, not the
org.josso.tc55.agent.jaas.CatalinaJAASRealm instance
    }
...
}

In order to get the custom realm from request.getContext().getRealm(), what
kind of configuration I need to make?

-- 
View this message in context: 
http://www.nabble.com/JAASRealm-configuration-problem-tf4509058s134.html#a12874131
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to