com.caucho.server.security
Class LoginConfig

java.lang.Object
  extended by com.caucho.server.security.LoginConfig

public class LoginConfig
extends java.lang.Object

Configuration for the login-config.


Constructor Summary
LoginConfig()
          Creates the login-config.
 
Method Summary
 ContainerProgram createFormLoginConfig()
          Creates the form-login-config
 ContainerProgram createInit()
          Creates the init
 java.lang.String getAuthMethod()
          Gets the auth-method
 Login getLogin()
          Returns the login.
 java.lang.String getRealmName()
          Gets the realm-name
 void setAuthenticator(Authenticator auth)
          Sets the authenticator.
 void setAuthMethod(java.lang.String method)
          Sets the auth-method
 void setRealmName(java.lang.String realmName)
          Sets the realm-name
 void setType(java.lang.Class type)
          Sets the custom type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginConfig

public LoginConfig()
Creates the login-config.

Method Detail

setAuthMethod

public void setAuthMethod(java.lang.String method)
Sets the auth-method


getAuthMethod

public java.lang.String getAuthMethod()
Gets the auth-method


setAuthenticator

public void setAuthenticator(Authenticator auth)
Sets the authenticator.


setType

public void setType(java.lang.Class type)
             throws ConfigException
Sets the custom type

Throws:
ConfigException

setRealmName

public void setRealmName(java.lang.String realmName)
Sets the realm-name


getRealmName

public java.lang.String getRealmName()
Gets the realm-name


createFormLoginConfig

public ContainerProgram createFormLoginConfig()
Creates the form-login-config


createInit

public ContainerProgram createInit()
Creates the init


getLogin

public Login getLogin()
Returns the login.