On Wed, Sep 22, 2004 at 04:26:44PM +0200, LERBSCHER Jean-Pierre wrote:
> Why do you have a ClassCastException exception ?
> Could you give us more detail on your realm configuration ?
> Do you configured a jass realm with custom userClassNames and roleClassNames
> attributes ? or any thing else.


okay, my context configuration looks like:

<Realm className="org.apache.catalina.realm.JAASRealm"
        verbosity="99"
        appName="dabRealm"
        debug="99"
        useContextClassLoader="true"
        userClassNames="com.warenform.ima_frontend.auth.DabPrincipal"
        roleClassNames="com.warenform.ima_frontend.auth.DabRole"/>

my login.conf shows:

dabRealm {
      com.warenform.ima_frontend.interf.DabLoginModule  REQUIRED;
};

loginModule/Role/Principal-classes are visible to $CATALINA_HOME/common/lib

and the way i invoke the whole thing is via 

servlet which is called by url /login.do - 

creates my DabCallBackHandler ,
pushes this into new LoginContext
module gets invoked - and creates exception like described in the
thread-start.

hm - am i lost?

rene




-- 
gpg-key 8FC78254 http://www.so36.net/keys/rene.asc
fingerprint: E883 D359 3F56 51AF 0294  8BEB 16B3 15BD 8FC7 8254

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to