org.wso2.carbon.registry.ws.api.utils
Class InMemoryPasswordCallbackHandler

java.lang.Object
  extended by org.wso2.carbon.registry.ws.api.utils.InMemoryPasswordCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class InMemoryPasswordCallbackHandler
extends Object
implements CallbackHandler


Constructor Summary
InMemoryPasswordCallbackHandler()
           
 
Method Summary
static void addUser(String username, String password)
           
 void handle(Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryPasswordCallbackHandler

public InMemoryPasswordCallbackHandler()
Method Detail

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException

addUser

public static void addUser(String username,
                           String password)


Copyright © 2012 WSO2 Inc. All Rights Reserved.