Class AuthenticationTokenProvider
- java.lang.Object
-
- com.synopsys.defensics.jenkins.configuration.AuthenticationTokenProvider
-
public final class AuthenticationTokenProvider extends Object
Utility for Jenkins related functionality.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getAuthenticationToken(URL url, String credentialsId)
Returns The first suitable credential's plain text secret for the id.
-
-
-
Method Detail
-
getAuthenticationToken
public static String getAuthenticationToken(URL url, String credentialsId) throws AuthenticationTokenNotFoundException
Returns The first suitable credential's plain text secret for the id.- Parameters:
url
- Host to associate the credentials withcredentialsId
- The id of the credentials- Returns:
- Standard credential types
- Throws:
AuthenticationTokenNotFoundException
-
-