I am looking for information on authoring a Java plugin that extends Shield 2.0 capabilities. Specifically I want the plugin to use a custom library to authenticate a user based a SAML token. The SAML token contains claims that would then be used to tell Shield whether a user is authenticated and what their Shield "role" is.
Thanks in advance.
Update : I have the CustomRealmExamplePlugin working -- see https://github.com/elastic/shield-custom-realm-example
I'd like to change
public class CustomRealm extends Realm
so it will accept a SAML token passed in the HTTP header for authentication. I haven't had much luck finding documentation on what other types are available to hand to the Realm class or how to use them. Something like Realm or similar would be very helpful.