Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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

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

 

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()

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09