Class AuthenticatorContext


  • public class AuthenticatorContext
    extends java.lang.Object
    Context class to provide Authenticator implementations with concrete objects necessary for their correct workings. DataHub creates AuthenticatorContext instance and provides it as an argument to init method of Authenticator
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticatorContext​(java.util.Map<java.lang.String,​java.lang.Object> context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> data()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticatorContext

        public AuthenticatorContext​(@Nonnull
                                    java.util.Map<java.lang.String,​java.lang.Object> context)
    • Method Detail

      • data

        @Nonnull
        public java.util.Map<java.lang.String,​java.lang.Object> data()
        Returns:
        contextMap The contextMap contains below key and value PLUGIN_HOME: Directory path where plugin is installed