org.apache.geronimo.security.realm.providers
Class PasswordCallbackHandler

java.lang.Object
  extended by org.apache.geronimo.security.realm.providers.PasswordCallbackHandler
All Implemented Interfaces:
CallbackHandler, ClearableCallbackHandler

public class PasswordCallbackHandler
extends Object
implements ClearableCallbackHandler


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

Constructor Detail

PasswordCallbackHandler

public PasswordCallbackHandler(String username,
                               char[] password)
Method Detail

handle

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

clear

public void clear()
Specified by:
clear in interface ClearableCallbackHandler


Copyright © 2006 Apache Software Foundation. All Rights Reserved.