|
Re: [CDO] Custom configuration for Authenticator [message #1739096 is a reply to message #1739066] |
Wed, 27 July 2016 13:54 |
|
Hi Stephane,
Your extension of org.eclipse.net4j.util.security.AuthenticatorFactory implements the method
org.eclipse.net4j.util.factory.IFactory.create(String description). The "description" parameter contains the string
attribute from the cdo-server.xml. You can parse it and use it to configure your authenticator.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 27.07.2016 um 12:58 schrieb Stéphane Thibaudeau:
> Hi,
>
> I've defined my own authenticator inside the cdo-server.xml file.
> My custom authenticator class is instantiated but now I'd like to provide her with configuration parameters (ldap
> server address and port).
>
> Is there a way to provide my own parameters directly in the cdo-server.xml file ?
> Maybe I could set properties on the repository and then access them from my authenticator (or even better from the
> authenticator factory). But then, how can I access the repository configuration from the authenticator or from the
> factory ?
>
> If this is not possible, what would be the recommended way to configure my authenticator ?
>
> Regards,
> Stéphane
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04150 seconds