net.sf.jguard.core.authentication.bindings
Class AbstractAuthenticationBindingsFactory

java.lang.Object
  extended by net.sf.jguard.core.authentication.bindings.AbstractAuthenticationBindingsFactory
All Implemented Interfaces:
AuthenticationBindingsFactory

public abstract class AbstractAuthenticationBindingsFactory
extends java.lang.Object
implements AuthenticationBindingsFactory

subclasses must have a String constructor.

Author:
Charles Gay

Field Summary
protected  java.util.List<AuthenticationSchemeHandler> authSchemeHandlers
           
protected  java.lang.String scope
           
 
Constructor Summary
AbstractAuthenticationBindingsFactory(java.lang.String authenticationScope)
           
 
Method Summary
static AuthenticationBindingsFactory getAuthenticationBindingsFactory(java.lang.String implementation, java.lang.String authenticationScope)
          instantiate an AuthenticationBindingsFactory with its AuthenticationScope one Argument.
 java.util.List<AuthenticationSchemeHandler> getAuthenticationSchemeHandlers()
           
 void init(java.lang.String location)
           
 java.util.List<AuthenticationSchemeHandler> loadFilterConfiguration(java.lang.String configurationLocation)
          load configuration from an XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jguard.core.authentication.bindings.AuthenticationBindingsFactory
getAuthenticationBindings
 

Field Detail

scope

protected java.lang.String scope

authSchemeHandlers

protected java.util.List<AuthenticationSchemeHandler> authSchemeHandlers
Constructor Detail

AbstractAuthenticationBindingsFactory

public AbstractAuthenticationBindingsFactory(java.lang.String authenticationScope)
Method Detail

init

public void init(java.lang.String location)
Specified by:
init in interface AuthenticationBindingsFactory

getAuthenticationSchemeHandlers

public java.util.List<AuthenticationSchemeHandler> getAuthenticationSchemeHandlers()
Specified by:
getAuthenticationSchemeHandlers in interface AuthenticationBindingsFactory

loadFilterConfiguration

public java.util.List<AuthenticationSchemeHandler> loadFilterConfiguration(java.lang.String configurationLocation)
load configuration from an XML file.

Specified by:
loadFilterConfiguration in interface AuthenticationBindingsFactory
Parameters:
configurationLocation -
Returns:
Map containing filter configuration

getAuthenticationBindingsFactory

public static AuthenticationBindingsFactory getAuthenticationBindingsFactory(java.lang.String implementation,
                                                                             java.lang.String authenticationScope)
                                                                      throws java.lang.Exception
instantiate an AuthenticationBindingsFactory with its AuthenticationScope one Argument.

Parameters:
implementation -
authenticationScope -
Returns:
Throws:
java.lang.Exception


Copyright © 2004-2009. All Rights Reserved.