1 /******************************************************************************* 2 * Copyright (c) 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.tomcat.internal.extensions; 12 13 import org.apache.catalina.Realm; 14 15 /** 16 * Factory used to generate an appropriate realm object for use during 17 * authentication by the Tomcat server. Realm factories declared through the 18 * org.eclipse.tomcat.realmfactory extention point must implement this 19 * interface. <br> 20 * Experimental: This extension point should be considered experimental. It may 21 * change or be removed in the future releases. 22 * 23 * @since 3.1 24 */ 25 public interface IRealmFactory { 26 /** 27 * Creates a real for authentication by the Tomcat server. 28 * 29 * @return an instance of a Realm. 30 */ 31 public Realm createRealm(); 32 } 33