148149150151152153154155
credMap.put(DOMAIN, credentials.getDomain()); try { Platform.addAuthorizationInfo(url, REALM, SCHEME, credMap); } catch (CoreException e) { throw new CredentialsException(e.getStatus()); } }
176177178179180181182183
credMap.put(DOMAIN, credentials.getDomain()); try { Platform.addAuthorizationInfo(PROXY_IDENTIFIER, REALM, SCHEME, credMap); } catch (CoreException e) { throw new CredentialsException(e.getStatus()); } }
187188189190191192193194
*/ public void deleteAuthCredentials(URL url) throws CredentialsException { try { Platform.flushAuthorizationInfo(url, REALM, SCHEME); } catch (CoreException e) { throw new CredentialsException(e.getStatus()); } }
198199200201202203204205
*/ public void deleteProxyCredentials(URL url) throws CredentialsException { try { Platform.flushAuthorizationInfo(PROXY_IDENTIFIER, REALM, SCHEME); } catch (CoreException e) { throw new CredentialsException(e.getStatus()); } }