class CredentialManagerImpl implements CredentialManager,
		Observable<KeystoreChangedEvent> {

	@Override
	public boolean hasUsernamePasswordForService(URI serviceURI)
			throws CMException {
		Map<URI, URI> mappedServiceURIs = getFragmentMappedURIsForAllUsernameAndPasswordPairs();
		for (URI possible : getPossibleServiceURIsToLookup(serviceURI, true))
			if (mappedServiceURIs.containsKey(possible))
				return true;
		return false;
	}

	public  CredentialManagerImpl();

}