c
com.digitalasset.canton.ledger.api.auth.interceptor
UserBasedAuthorizationInterceptor
Companion object UserBasedAuthorizationInterceptor
class UserBasedAuthorizationInterceptor extends AuthorizationInterceptor with NamedLogging
This interceptor uses the given com.digitalasset.canton.auth.AuthService to get com.digitalasset.canton.auth.ClaimSet.Claims for the current request, and then stores them in the current io.grpc.Context.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UserBasedAuthorizationInterceptor
- AuthorizationInterceptor
- NamedLogging
- ServerInterceptor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new UserBasedAuthorizationInterceptor(authService: AuthService, userManagementStoreO: Option[UserManagementStore], identityProviderAwareAuthService: IdentityProviderAwareAuthService, telemetry: Telemetry, loggerFactory: NamedLoggerFactory, ec: ExecutionContext)
- userManagementStoreO
- use None if user management is disabled
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- implicit val ec: ExecutionContext
- Definition Classes
- UserBasedAuthorizationInterceptor → AuthorizationInterceptor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def headerToClaims(headers: Metadata, serviceName: String)(implicit loggingContextWithTrace: LoggingContextWithTrace): Future[ClaimSet]
- Definition Classes
- UserBasedAuthorizationInterceptor → AuthorizationInterceptor
- def interceptCall[ReqT, RespT](call: ServerCall[ReqT, RespT], headers: Metadata, nextListener: ServerCallHandler[ReqT, RespT]): Listener[ReqT]
- Definition Classes
- AuthorizationInterceptor → ServerInterceptor
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- AuthorizationInterceptor → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])