Interface SSLPermissionsVerifier

All Superinterfaces:
Object

public interface SSLPermissionsVerifier extends Object
Represents an object that checks user permissions. The Glacier2 router and other services use an SSLPermissionsVerifierPrx proxy when the user is authenticated through an SSL certificate.
  • Method Details

    • authorize

      Checks if a user is authorized to establish a session.
      Parameters:
      info - The SSL information.
      current - The Current object of the incoming request.
      Returns:
      An instance of SSLPermissionsVerifier.AuthorizeResult.
      Throws:
      PermissionDeniedException - Thrown when the user's access is denied. This exception can be thrown instead of returning false with a reason set in the reason out parameter.
    • ice_staticId

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::Glacier2::SSLPermissionsVerifier"
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.
      Specified by:
      dispatch in interface Object
      Parameters:
      request - the incoming request
      Returns:
      the outgoing response
      Throws:
      UserException - if a UserException is thrown, Ice will marshal it as the response payload.