Am 13.04.2017 um 12:58 schrieb Lucas S. Silva:
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?
Are you sure, that you are editing the correct file? What happens, when you add a log statement in your constructor?

And by the way, the debug parameter is not used anymore.

Regards,
 Felix


Thanks for the help in advance.

Cheers,
Lucas



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to