log.log(log.LOG_ERROR, NLS.bind(UserAdminMsg.Backing_Store_Write_Exception, new Object[] {NLS.bind(UserAdminMsg.adding_Credential_to__15, role.getName())}), ex);
log.log(LogService.LOG_ERROR, NLS.bind(UserAdminMsg.Backing_Store_Write_Exception, new Object[] {NLS.bind(UserAdminMsg.adding_Credential_to__15, role.getName())}), ex);
	protected void addCredential(final org.osgi.service.useradmin.Role role, final String key, final Object value) throws BackingStoreException {		try {			AccessController.doPrivileged(new PrivilegedExceptionAction() {				public Object run() throws BackingStoreException {					Preferences credentialNode = rootNode.node(role.getName() + "/" + credentialsNode); //$NON-NLS-1$					if (value instanceof String) {						credentialNode.put(key, (String) value);					} else //assume it is a byte array					{						credentialNode.putByteArray(key, (byte[]) value);					}					credentialNode.flush();					return (null);				}			});		} catch (PrivilegedActionException ex) {			log.log(log.LOG_ERROR, NLS.bind(UserAdminMsg.Backing_Store_Write_Exception, new Object[] {NLS.bind(UserAdminMsg.adding_Credential_to__15, role.getName())}), ex);			throw ((BackingStoreException) ex.getException());		}	}