Class PasswordCallbackHandler
- java.lang.Object
-
- org.jboss.wsf.stack.cxf.extensions.security.PasswordCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class PasswordCallbackHandler extends Object implements CallbackHandler
-
-
Constructor Summary
Constructors Constructor Description PasswordCallbackHandler(Map<String,String> initMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(Callback[] callbacks)It attempts to get the password from the private alias/passwords map.voidsetAliasPassword(String alias, String password)Add an alias/password pair to the callback mechanism.
-
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
It attempts to get the password from the private alias/passwords map.- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
-