net.sf.jguard.core.authentication.bindings
Class AuthenticationBindingsWrapper
java.lang.Object
net.sf.jguard.core.authentication.bindings.AbstractAuthenticationBindings
net.sf.jguard.core.authentication.bindings.AuthenticationBindingsWrapper
- All Implemented Interfaces:
- AuthenticationBindings
- Direct Known Subclasses:
- ImpersonationAuthenticationBindings
public class AuthenticationBindingsWrapper
- extends AbstractAuthenticationBindings
- implements AuthenticationBindings
this class implements the Wrapper/decorator pattern to override
some methods implemented by the internal AuthenticationBindings
wrapped in the constructor.
- Author:
- Charles Gay
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authNBindings
protected AuthenticationBindings authNBindings
AuthenticationBindingsWrapper
public AuthenticationBindingsWrapper(AuthenticationBindings authenticationBindings)
getApplicationAttribute
public java.lang.Object getApplicationAttribute(java.lang.String key)
- Specified by:
getApplicationAttribute in interface AuthenticationBindings
getCallbackHandler
public javax.security.auth.callback.CallbackHandler getCallbackHandler()
- Description copied from interface:
AuthenticationBindings
- return a CallbackHandler bounded to the current AccessContext.
- Specified by:
getCallbackHandler in interface AuthenticationBindings
- Returns:
getRequestAttribute
public java.lang.Object getRequestAttribute(java.lang.String key)
- Specified by:
getRequestAttribute in interface AuthenticationBindings
process
public void process()
- Specified by:
process in interface AuthenticationBindings
setApplicationAttribute
public void setApplicationAttribute(java.lang.String key,
java.lang.Object value)
- Specified by:
setApplicationAttribute in interface AuthenticationBindings
setRequestAttribute
public void setRequestAttribute(java.lang.String key,
java.lang.Object value)
- Specified by:
setRequestAttribute in interface AuthenticationBindings
removeApplicationAttribute
public void removeApplicationAttribute(java.lang.String key)
- Specified by:
removeApplicationAttribute in interface AuthenticationBindings
removeRequestAttribute
public void removeRequestAttribute(java.lang.String key)
- Specified by:
removeRequestAttribute in interface AuthenticationBindings
getInitApplicationAttribute
public java.lang.String getInitApplicationAttribute(java.lang.String key)
- Description copied from interface:
AuthenticationBindings
- parameter defined for initialization purpose, reachable
at an application scope.
- Specified by:
getInitApplicationAttribute in interface AuthenticationBindings
- Returns:
- value as a String
Copyright © 2004-2009. All Rights Reserved.