/******************************************************************************* * Copyright (c) 2010-2014 SAP AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * SAP AG - initial API and implementation *******************************************************************************/ package org.eclipse.skalli.services.configuration; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation for fields of configurations that contain secret or confidential * information and must be protected. Such fields for example should not * appear in the response of a REST API call and should be encrypted * when persisted. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Protect { }