org.apache.subversion.javahl.util
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigLib
public ConfigLib()
enableNativeCredentialsStore
public void enableNativeCredentialsStore()
throws ClientException
- Throws:
ClientException
- See Also:
SVNUtil.enableNativeCredentialsStore
disableNativeCredentialsStore
public void disableNativeCredentialsStore()
throws ClientException
- Throws:
ClientException
- See Also:
SVNUtil.disableNativeCredentialsStore
isNativeCredentialsStoreEnabled
public boolean isNativeCredentialsStoreEnabled()
throws ClientException
- 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