Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.interceptor.security
Class NamePasswordCallbackHandler

    java.lang.Object
      org.apache.cxf.interceptor.security.NamePasswordCallbackHandler

All Implemented Interfaces:
  CallbackHandler

    public class NamePasswordCallbackHandler

extends Object
implements CallbackHandler

Constructor Summary
`NamePasswordCallbackHandler(String username, String password)`
`NamePasswordCallbackHandler(String username, String password, String passwordCallbackName)`

Method Summary
`void` | `handle(Callback[] callbacks)`
`protected boolean` | `handleCallback(Callback callback)`

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

Constructor Detail

### NamePasswordCallbackHandler

    public NamePasswordCallbackHandler(String username,
                                       String password)

### NamePasswordCallbackHandler

    public NamePasswordCallbackHandler(String username,
                                       String password,
                                       String passwordCallbackName)

Method Detail

### handle

    public void handle(Callback[] callbacks)
                throws IOException,
                       UnsupportedCallbackException

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

### handleCallback

    protected boolean handleCallback(Callback callback)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF