Keel 2.1RC2

org.keel.apps.register.models
Class LoginBase

java.lang.Object
  extended byorg.keel.services.model.StandardModel
      extended byorg.keel.services.model.StandardLogEnabledModel
          extended byorg.keel.apps.register.models.LoginBase
All Implemented Interfaces:
Configurable, LogEnabled, Model
Direct Known Subclasses:
Login, LogOff, PromptLogin, VerifyLogin

public abstract class LoginBase
extends StandardLogEnabledModel

Version:
$Revision: 1.12 $ $Date: 2004/03/10 04:03:49 $
Author:
Mike Nash, Shash Chatterjee Created on Jun 8, 2003

Field Summary
private static java.lang.String DOMAIN_COOKIE_NAME
           
private static java.lang.String LOGIN_COOKIE_NAME
           
private static java.lang.String PASSWORD_COOKIE_NAME
           
protected  ServiceConfig svcConfig
           
 
Fields inherited from class org.keel.services.model.StandardLogEnabledModel
log
 
Fields inherited from class org.keel.services.model.StandardModel
configuration
 
Fields inherited from interface org.keel.services.model.Model
ROLE
 
Constructor Summary
LoginBase()
           
 
Method Summary
 void configure(Configuration configuration)
          Pass the Configuration to the Configurable class.
protected  ModelResponse createLoginInfoOutput(ModelRequest req, ModelResponse res)
           
protected  java.lang.String decodeWithSeq(java.lang.String[] seq, java.lang.String original, ModelRequest req)
           
protected  java.lang.String encodeWithSeq(java.lang.String[] seq, java.lang.String original, ModelRequest req)
           
protected  java.lang.String getCookieName(Configuration conf, java.lang.String name)
           
protected  java.lang.String[] getCryptSeq(Configuration conf, java.lang.String whichOne)
          Return the sequence of cryptographic protections used for a given element
protected  java.lang.String getDomainCookieName(Configuration conf)
           
protected  java.lang.String getLoginCookieName(Configuration conf)
           
protected  java.lang.String getPasswordCookieName(Configuration conf)
           
 
Methods inherited from class org.keel.services.model.StandardLogEnabledModel
enableLogging
 
Methods inherited from class org.keel.services.model.StandardModel
getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.keel.services.model.Model
execute
 

Field Detail

DOMAIN_COOKIE_NAME

private static java.lang.String DOMAIN_COOKIE_NAME

LOGIN_COOKIE_NAME

private static java.lang.String LOGIN_COOKIE_NAME

PASSWORD_COOKIE_NAME

private static java.lang.String PASSWORD_COOKIE_NAME

svcConfig

protected ServiceConfig svcConfig
Constructor Detail

LoginBase

public LoginBase()
Method Detail

decodeWithSeq

protected java.lang.String decodeWithSeq(java.lang.String[] seq,
                                         java.lang.String original,
                                         ModelRequest req)
                                  throws ModelException
Throws:
ModelException

encodeWithSeq

protected java.lang.String encodeWithSeq(java.lang.String[] seq,
                                         java.lang.String original,
                                         ModelRequest req)
                                  throws ModelException
Throws:
ModelException

getCookieName

protected java.lang.String getCookieName(Configuration conf,
                                         java.lang.String name)

getCryptSeq

protected java.lang.String[] getCryptSeq(Configuration conf,
                                         java.lang.String whichOne)
Return the sequence of cryptographic protections used for a given element


getDomainCookieName

protected java.lang.String getDomainCookieName(Configuration conf)

getLoginCookieName

protected java.lang.String getLoginCookieName(Configuration conf)

getPasswordCookieName

protected java.lang.String getPasswordCookieName(Configuration conf)

createLoginInfoOutput

protected ModelResponse createLoginInfoOutput(ModelRequest req,
                                              ModelResponse res)
                                       throws ModelException
Throws:
ModelException

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Description copied from interface: Configurable
Pass the Configuration to the Configurable class.

Specified by:
configure in interface Configurable
Overrides:
configure in class StandardModel
Throws:
ConfigurationException
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.