GitHub PushEvent at 2014-06-17 23:00:58
Repository: subversion
Actor: asfgit
Payload: {"shas":[["4b57faf6fc317a4207fb58932a91dd70dce33412","1c614948a9c0b7ecce92724e2228fa556803c59f@apache.org","Add credentials management (searching and deleting) to JavaHL.\n\n[in subversion/bindings/javahl]\n* src/org/apache/subversion/javahl/SVNUtil.java\n  (SVNUtil.CredentialTypeMismatch): New exception class.\n  (SVNUtil.Credential): Make concrete and serializable, and\n   encapsulate all credential kinds within this one class.\n  (SVNUtil.UsernameCredential,\n   SVNUtil.SimpleCredential,\n   SVNUtil.SSLServerCertCredential,\n   SVNUtil.SSLClientCertPassphraseCredential): Removed.\n  (SVNUtil.getCredential, SVNUtil.removeCredential, SVNUtil.searchCredentials):\n   Also throw SubversionException.\n  (SVNUtil.addCredential): Removed; not viable, there is no native API.\n  (SVNUtil.deleteCredentials): Removed as redundant.\n* src/org/apache/subversion/javahl/util/ConfigLib.java:\n   Import SubversionException class.\n  (SVNUtil.getCredential, SVNUtil.nativeGetCredential,\n   SVNUtil.removeCredential, SVNUtil.nativeRemoveCredential,\n   SVNUtil.searchCredentials):\n   Also throw SubversionException.\n  (SVNUtil.addCredential, SVNUtil.nativeAddCredential): Removed.\n  (SVNUtil.deleteCredentials): Removed as redundant.\n  (SVNUtil.deleteCredentials): Removed.\n  (SVNUtil.nativeSarchCredentials): New; replaces iterateCredentials.\n\n* native/Credential.hpp, native/Credential.cpp:\n   New; native implementation of the SVNUtil.Credential class.\n* native/jniwrapper/jni_object.hpp, native/jniwrapper/jni_class_cache.cpp\n  (ClassCache.get_credential, ClassCache.get_credential_kind)\n   New; factory method for Credential and Credential::Kind implementations.\n* native/org_apache_subversion_javahl_util_ConfigLib.cpp\n  (build_credential, WalkCredentialsCallback, SimpleSearchCallback):\n   New helper function and classes.\n  (Java_org_apache_subversion_javahl_util_ConfigLib_nativeGetCredential,\n   Java_org_apache_subversion_javahl_util_ConfigLib_nativeRemoveCredential,\n   Java_org_apache_subversion_javahl_util_ConfigLib_nativeSearchCredentials):\n   Implemented.\n  (Java_org_apache_subversion_javahl_util_ConfigLib_nativeAddCredential):\n   Removed.\n\n* tests/org/apache/subversion/javahl/UtilTests.java\n  (UtilTests.testCredentials): New test case.\n\n\ngit-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1603306 13f79535-47bb-0310-9956-ffa450edef68","Branko Cibej",true]],"size":1,"ref":"refs/heads/trunk","head":"4b57faf6fc317a4207fb58932a91dd70dce33412"}