We are trying to implement shield to authenticate user access to elastic. Since the currently supported realms require user/pwd to be passed in the header and we dont have access to the logged in users pwd, we are going the route of using a custom plugin to authenticate the user given an access token.
I have downloaded the custom plugin sample, compiled and installed on my local cluster. But when i start up elastic I get the following error
Exception in thread "main" java.lang.IllegalArgumentException: unknown realm type [custom] set for realm [custom]
I currently have the following plugins - head, license, mapper-size, shield and another custom plugin for scan&scroll
The plugin itself loaded successfully on start up.
Also do I need to include the shield jar in the plugin folder?
Any help is appreciated..