- All Superinterfaces:
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.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::Glacier2::SSLPermissionsVerifier.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptionauthorizeAsync(SSLInfo info, Current current) Checks if a user is authorized to establish a session.default CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.static StringGets the type ID of the associated Slice interface.
-
Method Details
-
authorizeAsync
CompletionStage<SSLPermissionsVerifier.AuthorizeResult> authorizeAsync(SSLInfo info, Current current) throws PermissionDeniedException Checks if a user is authorized to establish a session.- Parameters:
info- The SSL information.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete with an instance of SSLPermissionsVerifier.AuthorizeResult
- Throws:
PermissionDeniedException- Thrown when the user's access is denied. This exception can be thrown instead of returningfalsewith a reason set in the reason out parameter.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::Glacier2::SSLPermissionsVerifier"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-