Hi All,

I am implementing a custom JNDIRealm and I need to pass some
configurations to it.

I tried to pass the configuration via Real configuration

<Realm className="custom.JNDIRealm"
debug="99"
...
...
referrals="follow"
*configurationPattern*=".*CN[\s]*=[\s]*([^,@]*).*"
...
...
/>

and in my code I define the setter and getter for
*configurationPattern* but when I debug it doesn't seems to
be set? I also need to add more parameters that may
not fit Realm.
Can I access Tomcat configuration from code?

Thanks for the help in advance.

Cheers,
Lucas

Reply via email to