public interface CxAuthClient
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpHeaders |
createAuthHeaders()
Create REST API Headers for Authentication (JWT/OIDC)
|
String |
getAuthToken(String username,
String password,
String clientId,
String clientSecret,
String scope)
Authenictate with Checkmarx and Creates a JWT/OIDC access token for Checkmarx REST based resource
|
String |
getCurrentSoapToken() |
String |
getCurrentToken() |
String |
getLegacySession() |
String |
getSoapAuthToken(String username,
String password)
Authenictate with Checkmarx and Creates a JWT/OIDC for access token for Checkmarx SOAP based resource (9.0 onward)
|
String |
legacyLogin(String username,
String password)
Authenictate with Checkmarx and Creates a session to access Checkmarx Legacy SOAP based resource
|
String getAuthToken(String username, String password, String clientId, String clientSecret, String scope) throws InvalidCredentialsException
username - password - clientId - clientSecret - InvalidCredentialsExceptionString getSoapAuthToken(String username, String password) throws InvalidCredentialsException
username - password - InvalidCredentialsExceptionString legacyLogin(String username, String password) throws InvalidCredentialsException
username - password - InvalidCredentialsExceptionorg.springframework.http.HttpHeaders createAuthHeaders()
String getCurrentToken()
String getCurrentSoapToken()
String getLegacySession()
Copyright © 2020. All rights reserved.