Class KerberosTokenProvider

  • All Implemented Interfaces:
    AuthTokenProvider, java.util.function.Function<feign.Request,​java.util.Optional<java.lang.String>>

    public class KerberosTokenProvider
    extends java.lang.Object
    implements AuthTokenProvider
    • Constructor Detail

      • KerberosTokenProvider

        public KerberosTokenProvider​(cern.nxcals.common.utils.Lazy<KerberosContext> kerberosContext,
                                     java.lang.String serviceType)
    • Method Detail

      • apply

        public java.util.Optional<java.lang.String> apply​(feign.Request request)
        Specified by:
        apply in interface java.util.function.Function<feign.Request,​java.util.Optional<java.lang.String>>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object