Class ConfigLib
java.lang.Object
org.apache.subversion.javahl.util.ConfigLib
public class ConfigLib extends Object
Provides global configuration knobs and
Encapsulates utility functions for authentication credentials management.
- Since:
- 1.9
-
Constructor Summary
Constructors Constructor Description ConfigLib()
-
Method Summary
Modifier and Type Method Description void
disableNativeCredentialsStore()
void
enableNativeCredentialsStore()
SVNUtil.Credential
getCredential(String configDir, SVNUtil.Credential.Kind kind, String realm)
boolean
isNativeCredentialsStoreEnabled()
SVNUtil.Credential
removeCredential(String configDir, SVNUtil.Credential.Kind kind, String realm)
List<SVNUtil.Credential>
searchCredentials(String configDir, SVNUtil.Credential.Kind kind, String realmPattern, String usernamePattern, String hostnamePattern, String textPattern)
-
Constructor Details
-
ConfigLib
public ConfigLib()
-
-
Method Details
-
enableNativeCredentialsStore
- Throws:
ClientException
- See Also:
SVNUtil.enableNativeCredentialsStore
-
disableNativeCredentialsStore
- Throws:
ClientException
- See Also:
SVNUtil.disableNativeCredentialsStore
-
isNativeCredentialsStoreEnabled
- Throws:
ClientException
- See Also:
SVNUtil.isNativeCredentialsStoreEnabled
-
getCredential
public SVNUtil.Credential getCredential(String configDir, SVNUtil.Credential.Kind kind, String realm) throws ClientException, SubversionException- Throws:
ClientException
SubversionException
- See Also:
SVNUtil.getCredential
-
removeCredential
public SVNUtil.Credential removeCredential(String configDir, SVNUtil.Credential.Kind kind, String realm) throws ClientException, SubversionException- Throws:
ClientException
SubversionException
- See Also:
SVNUtil.removeCredential
-
searchCredentials
public List<SVNUtil.Credential> searchCredentials(String configDir, SVNUtil.Credential.Kind kind, String realmPattern, String usernamePattern, String hostnamePattern, String textPattern) throws ClientException, SubversionException- Throws:
ClientException
SubversionException
- See Also:
SVNUtil.searchCredentials
-