Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.3)

Part Number E13941-03

weblogic.security.auth.callback
Class ContextHandlerCallback

java.lang.Object
  extended by weblogic.security.auth.callback.ContextHandlerCallback
All Implemented Interfaces:
Callback

public class ContextHandlerCallback
extends Object
implements Callback

This callback passes the ContextHandler to LoginModule.login() methods.

The underlying security services instantiate and pass a ContextHandlerCallback to the invokeCallback method of a CallbackHandler to retrieve the ContextHandler related to this security operation. If no ContextHandler is associated with this operation, javax.security.auth.callback.UnsupportedCallbackException is thrown.

See Also:
CallbackHandler, UnsupportedCallbackException

Constructor Summary
ContextHandlerCallback()
          Constructs a ContextHandlerCallback.
 
Method Summary
 ContextHandler getContextHandler()
          The ContextHandler, if any, that was passed in.
 void setContextHandler(ContextHandler contextHandler)
          Set the value of the ContextHandler attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextHandlerCallback

public ContextHandlerCallback()
Constructs a ContextHandlerCallback.

Method Detail

getContextHandler

public ContextHandler getContextHandler()
The ContextHandler, if any, that was passed in.

Returns:
The ContextHandler
See Also:
ContextHandler

setContextHandler

public void setContextHandler(ContextHandler contextHandler)
Set the value of the ContextHandler attribute.

Parameters:
contextHandler - The non-null ContextHandler
See Also:
ContextHandlerCallback.getContextHandler()

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.3 API Reference
11g Release 1 (10.3.3)

Part Number E13941-03