1 /* 2 * Copyright (c) 2008 Sonatype, Inc. All rights reserved. 3 * 4 * This program is licensed to you under the Apache License Version 2.0, 5 * and you may not use this file except in compliance with the Apache License Version 2.0. 6 * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0. 7 * 8 * Unless required by applicable law or agreed to in writing, 9 * software distributed under the Apache License Version 2.0 is distributed on an 10 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under. 12 */ 13 14 package org.codehaus.plexus.components.secdispatcher; 15 16 import java.util.Optional; 17 18 /** 19 * Source of master password. 20 */ 21 public interface MasterSourceMeta { 22 /** 23 * String describing what this source does. 24 */ 25 String description(); 26 27 /** 28 * Optional "config template" that may serve as basis to configure this master source. The template cannot be 29 * "reused" as is as configuration. 30 */ 31 Optional<String> configTemplate(); 32 }