Interface AuthExceptionHandlerProvider

  • All Superinterfaces:
    jakarta.enterprise.inject.spi.Prioritized
    All Known Implementing Classes:
    DefaultAuthExceptionHandlerProvider

    public interface AuthExceptionHandlerProvider
    extends jakarta.enterprise.inject.spi.Prioritized
    Provider for AuthExceptionHandler. To use a custom AuthExceptionHandler, extend AuthExceptionHandler and implement an AuthExceptionHandlerProvider with priority greater than the default one.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFAULT_PRIORITY  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <ReqT,​RespT>
      AuthExceptionHandler<ReqT,​RespT>
      createHandler​(io.grpc.ServerCall.Listener<ReqT> listener, io.grpc.ServerCall<ReqT,​RespT> serverCall, io.grpc.Metadata metadata)  
      • Methods inherited from interface jakarta.enterprise.inject.spi.Prioritized

        getPriority
    • Method Detail

      • createHandler

        <ReqT,​RespT> AuthExceptionHandler<ReqT,​RespT> createHandler​(io.grpc.ServerCall.Listener<ReqT> listener,
                                                                                io.grpc.ServerCall<ReqT,​RespT> serverCall,
                                                                                io.grpc.Metadata metadata)