org.openmdx.security.auth.login.http
Class RemoteAuthenticationHandler

java.lang.Object
  extended by org.openmdx.security.auth.servlet.spi.AbstractHandler
      extended by org.openmdx.security.auth.servlet.spi.AbstractAuthenticationHandler
          extended by org.openmdx.security.auth.servlet.spi.AbstractRemoteAuthenticationHandler
              extended by org.openmdx.security.auth.login.http.RemoteAuthenticationHandler
All Implemented Interfaces:
ServletConfig, Invalidator, HttpAuthenticationHandler, HttpHandler

public class RemoteAuthenticationHandler
extends AbstractRemoteAuthenticationHandler

Remote Authentication Handler


Constructor Summary
RemoteAuthenticationHandler()
           
 
Method Summary
protected  Dataprovider_1ConnectionFactory getConnectionFactory()
          Connection factory callback method
 void init()
          A convenience method which can be overridden so that there's no need to call super.init(config).
protected  String realmAccessPasswordDefault()
          Provide the "realm-access-password" default value.
protected  String realmAccessUsernameDefault()
          Provide the "realm-access-username" default value.
 
Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractRemoteAuthenticationHandler
getSharedOptions, modelsDefault, namePromptDefault, passwordEchoDefault, passwordPromptDefault, realmInformationDefault, realmInitialContextFactoryDefault, realmJNDINameDefault, realmProviderURLDefault, realmUnavailabilityExpectationDefault, realmXRIDefault
 
Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractAuthenticationHandler
applicationNameDefault, callbackTimeoutDefault, destroy, getAuthentication, getCorrelationId, idleTimeoutDefault, initialCapacityDefault, invalidateObject, isLenient, lenientDefault, loginConfigurationDefault, maximumCapacityDefault, maximumWaitDefault, returnAuthentication
 
Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractHandler
debugDefault, endBody, endDocument, endHead, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameterNames, getServletContext, getServletName, init, isDebug, log, log, startBody, startDocument, startHead, writeEncoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmdx.security.auth.servlet.cci.HttpHandler
init
 

Constructor Detail

RemoteAuthenticationHandler

public RemoteAuthenticationHandler()
Method Detail

init

public void init()
          throws ServletException
Description copied from class: AbstractHandler
A convenience method which can be overridden so that there's no need to call super.init(config).

Instead of overriding init(ServletConfig), simply override this method and it will be called by AbstractHandler.init(ServletConfig).

Overrides:
init in class AbstractRemoteAuthenticationHandler
Throws:
ServletException

getConnectionFactory

protected Dataprovider_1ConnectionFactory getConnectionFactory()
                                                        throws ServiceException
Description copied from class: AbstractRemoteAuthenticationHandler
Connection factory callback method

Specified by:
getConnectionFactory in class AbstractRemoteAuthenticationHandler
Returns:
the Dataprovider_1ConnectionFactory to be sused by the LoginModule.
Throws:
ServiceException - if the connection factory can't be retrieved.

realmAccessUsernameDefault

protected String realmAccessUsernameDefault()
Provide the "realm-access-username" default value.

Returns:
the "realm-access-username" default value

realmAccessPasswordDefault

protected String realmAccessPasswordDefault()
Provide the "realm-access-password" default value.

Returns:
the "realm-access-password" default value


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.