Class KerberosTokenProvider
- java.lang.Object
-
- cern.nxcals.api.extraction.metadata.security.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KerberosTokenProvider.KerberosTokenProviderBuilder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NEGOTIATE
-
Constructor Summary
Constructors Constructor Description KerberosTokenProvider(cern.nxcals.common.utils.Lazy<KerberosContext> kerberosContext, java.lang.String serviceType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
apply(feign.Request request)
static KerberosTokenProvider.KerberosTokenProviderBuilder
builder()
java.lang.String
toString()
-
-
-
Field Detail
-
NEGOTIATE
public static final java.lang.String NEGOTIATE
- See Also:
- Constant Field Values
-
-
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 interfacejava.util.function.Function<feign.Request,java.util.Optional<java.lang.String>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static KerberosTokenProvider.KerberosTokenProviderBuilder builder()
-
-