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

java.lang.Object
  extended by net.sf.jguard.core.authentication.bindings.AuthenticationBindingsFactoryWrapper
All Implemented Interfaces:
AuthenticationBindingsFactory
Direct Known Subclasses:
ImpersonationAuthenticationBindingsFactory

public class AuthenticationBindingsFactoryWrapper
extends java.lang.Object
implements AuthenticationBindingsFactory

this class implements the Wrapper/decorator pattern to override some methods implemented by the internal AuthenticationBindingsFactory wrapped in the constructor.

Author:
Charles Gay

Field Summary
protected  AuthenticationBindingsFactory wrappedFactory
           
 
Constructor Summary
AuthenticationBindingsFactoryWrapper(AuthenticationBindingsFactory factory)
           
 
Method Summary
 AuthenticationBindings getAuthenticationBindings(AccessContext context)
          wrap AccessContext into a less rough object, dedicated to Authentication stuff (AUthenticationBindings).
 java.util.List<AuthenticationSchemeHandler> getAuthenticationSchemeHandlers()
           
 void init(java.lang.String location)
           
 java.util.List<AuthenticationSchemeHandler> loadFilterConfiguration(java.lang.String configurationLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrappedFactory

protected AuthenticationBindingsFactory wrappedFactory
Constructor Detail

AuthenticationBindingsFactoryWrapper

public AuthenticationBindingsFactoryWrapper(AuthenticationBindingsFactory factory)
Method Detail

init

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

getAuthenticationBindings

public AuthenticationBindings getAuthenticationBindings(AccessContext context)
Description copied from interface: AuthenticationBindingsFactory
wrap AccessContext into a less rough object, dedicated to Authentication stuff (AUthenticationBindings).

Specified by:
getAuthenticationBindings in interface AuthenticationBindingsFactory
Returns:

getAuthenticationSchemeHandlers

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

loadFilterConfiguration

public java.util.List<AuthenticationSchemeHandler> loadFilterConfiguration(java.lang.String configurationLocation)
Specified by:
loadFilterConfiguration in interface AuthenticationBindingsFactory


Copyright © 2004-2009. All Rights Reserved.