Class JenkinsAuthenticationProvider
- java.lang.Object
-
- com.hcl.appscan.jenkins.plugin.auth.JenkinsAuthenticationProvider
-
- All Implemented Interfaces:
com.hcl.appscan.sdk.auth.IAuthenticationProvider
,Serializable
- Direct Known Subclasses:
JenkinsAuthenticationProvider
public class JenkinsAuthenticationProvider extends Object implements com.hcl.appscan.sdk.auth.IAuthenticationProvider, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JenkinsAuthenticationProvider(String id, ItemGroup<?> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureCredentials(String id, ItemGroup<?> context)
boolean
getacceptInvalidCerts()
Map<String,String>
getAuthorizationHeader(boolean persist)
Proxy
getProxy()
String
getServer()
boolean
isAppScan360()
boolean
isTokenExpired()
void
saveConnection(String connection)
-
-
-
Method Detail
-
isTokenExpired
public boolean isTokenExpired()
- Specified by:
isTokenExpired
in interfacecom.hcl.appscan.sdk.auth.IAuthenticationProvider
-
getAuthorizationHeader
public Map<String,String> getAuthorizationHeader(boolean persist)
- Specified by:
getAuthorizationHeader
in interfacecom.hcl.appscan.sdk.auth.IAuthenticationProvider
-
getServer
public String getServer()
- Specified by:
getServer
in interfacecom.hcl.appscan.sdk.auth.IAuthenticationProvider
-
saveConnection
public void saveConnection(String connection)
- Specified by:
saveConnection
in interfacecom.hcl.appscan.sdk.auth.IAuthenticationProvider
-
getProxy
public Proxy getProxy()
- Specified by:
getProxy
in interfacecom.hcl.appscan.sdk.auth.IAuthenticationProvider
-
isAppScan360
public boolean isAppScan360()
-
getacceptInvalidCerts
public boolean getacceptInvalidCerts()
- Specified by:
getacceptInvalidCerts
in interfacecom.hcl.appscan.sdk.auth.IAuthenticationProvider
-
-