public class Authorization extends AuthorizationDeprecated
Constructor and Description |
---|
Authorization(ClientApi api) |
Modifier and Type | Method and Description |
---|---|
ApiResponse |
getAuthorizationDetectionMethod(java.lang.String contextid)
Obtains all the configuration of the authorization detection method that is currently set for
a context.
|
ApiResponse |
setBasicAuthorizationDetectionMethod(java.lang.String contextid,
java.lang.String headerregex,
java.lang.String bodyregex,
java.lang.String statuscode,
java.lang.String logicaloperator)
Sets the authorization detection method for a context as one that identifies un-authorized
messages based on: the message's status code or a regex pattern in the response's header or
body.
|
setBasicAuthorizationDetectionMethod
public Authorization(ClientApi api)
public ApiResponse getAuthorizationDetectionMethod(java.lang.String contextid) throws ClientApiException
ClientApiException
public ApiResponse setBasicAuthorizationDetectionMethod(java.lang.String contextid, java.lang.String headerregex, java.lang.String bodyregex, java.lang.String statuscode, java.lang.String logicaloperator) throws ClientApiException
ClientApiException