001 /**
002 *
003 * Copyright 2003-2004 The Apache Software Foundation
004 *
005 * Licensed under the Apache License, Version 2.0 (the "License");
006 * you may not use this file except in compliance with the License.
007 * You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017 package org.apache.geronimo.security.jaas;
018
019 import java.util.Properties;
020
021 /**
022 * @version $Rev: 388996 $ $Date: 2006-03-26 16:52:46 -0800 (Sun, 26 Mar 2006) $
023 */
024 public interface LoginModuleSettings {
025 String getLoginDomainName();
026
027 void setLoginDomainName(String loginDomainName);
028
029 Properties getOptions();
030
031 void setOptions(Properties options);
032
033 String getLoginModuleClass();
034
035 void setLoginModuleClass(String loginModuleClass);
036
037 boolean isServerSide();
038
039 void setServerSide(boolean serverSide);
040
041 boolean isWrapPrincipals();
042
043 void setWrapPrincipals(boolean wrapPrincipals);
044
045 ClassLoader getClassLoader();
046 }