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

## org.wso2.wsas.security
Class ServicePasswordCallbackHandler

    java.lang.Object
      org.wso2.wsas.security.ServicePasswordCallbackHandler

All Implemented Interfaces:
  javax.security.auth.callback.CallbackHandler

    public class ServicePasswordCallbackHandler

extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler

The password callback handler to be used to enable UsernameToken authentication for services.

Constructor Summary
`ServicePasswordCallbackHandler(java.lang.String serviceId)`
`ServicePasswordCallbackHandler(java.lang.String serviceId, java.lang.String serviceVersion)`

Method Summary
`void` | `handle(javax.security.auth.callback.Callback[] callbacks)`

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

Constructor Detail

### ServicePasswordCallbackHandler

    public ServicePasswordCallbackHandler(java.lang.String serviceId,
                                          java.lang.String serviceVersion)

### ServicePasswordCallbackHandler

    public ServicePasswordCallbackHandler(java.lang.String serviceId)

Method Detail

### handle

    public void handle(javax.security.auth.callback.Callback[] callbacks)
                throws java.io.IOException,
                       javax.security.auth.callback.UnsupportedCallbackException

  Specified by:
    `handle` in interface `javax.security.auth.callback.CallbackHandler`
  Throws:
    `java.io.IOException`
    `javax.security.auth.callback.UnsupportedCallbackException`

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