Package com.atlassian.bamboo.specs.util
Class FileTokenCredentials
java.lang.Object
com.atlassian.bamboo.specs.util.FileTokenCredentials
- All Implemented Interfaces:
AuthenticationProvider
,TokenCredentials
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
getPropertyOrThrow
(Properties properties, String propertyKey, String fileName) getToken()
protected static Properties
loadProperties
(String credentialsLocation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.specs.util.TokenCredentials
authenticate
-
Field Details
-
TOKEN_PROPERTY
- See Also:
-
-
Constructor Details
-
FileTokenCredentials
-
-
Method Details
-
getToken
- Specified by:
getToken
in interfaceTokenCredentials
-
loadProperties
-
getPropertyOrThrow
protected static String getPropertyOrThrow(Properties properties, String propertyKey, String fileName)
-