org.apache.qpid.security
Class UsernamePasswordCallbackHandler

java.lang.Object
  extended by org.apache.qpid.security.UsernamePasswordCallbackHandler
All Implemented Interfaces:
CallbackHandler, AMQPCallbackHandler

public class UsernamePasswordCallbackHandler
extends Object
implements AMQPCallbackHandler


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

Constructor Detail

UsernamePasswordCallbackHandler

public UsernamePasswordCallbackHandler()
Method Detail

initialise

public void initialise(String username,
                       String password)
Specified by:
initialise in interface AMQPCallbackHandler

handle

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


Licensed to the Apache Software Foundation