I wrote a custom authenticator and I need to configure it.
I have such code:
ProviderConfigProperty ptApiUrl; ptApiUrl = new ProviderConfigProperty(); ptApiUrl.setName("myAuth.api.url"); ptApiUrl.setLabel("API URL"); ptApiUrl.setType(ProviderConfigProperty.STRING_TYPE); configProperties.add(ptApiUrl);
The problem is that I need to input an URL there, like https://api.myexample.com
But it looks like STRING_TYPE doesn’t allow : and / symbols. Is it possible to disable such validation ?
I know it’s possible to use TEXT_TYPE but it looks ugly.