Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security
Class SimpleCallbackHandler

    java.lang.Object
      weblogic.security.SimpleCallbackHandler

All Implemented Interfaces:
  CallbackHandler

    public class SimpleCallbackHandler

extends Object
implements CallbackHandler

A simple CallbackHandler used for returning a username, password and ContextHandler.

Constructor Summary
`SimpleCallbackHandler(String user, byte[] pass)` Create a callback handler.
`SimpleCallbackHandler(String user, String pass)` Deprecated.

Method Summary
`void` | `handle(Callback[] callbacks)` Handle the callbacks.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleCallbackHandler

    public SimpleCallbackHandler(String user,
                                 String pass)

  Deprecated.

  Create a callback handler.

  Parameters:
    `user` - the username
    `pass` - the password

### SimpleCallbackHandler

    public SimpleCallbackHandler(String user,
                                 byte[] pass)

  Create a callback handler.

  Parameters:
    `user` - the username
    `pass` - the password

Method Detail

### handle

    public void handle(Callback[] callbacks)
                throws UnsupportedCallbackException

  Handle the callbacks.

  Specified by:
    `handle` in interface `CallbackHandler`
  Throws:
    `UnsupportedCallbackException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs92 Copyright 2006 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD