org.eclipse.stardust.common.security.authentication
Class DefaultCallbackHandler

java.lang.Object
  extended by org.eclipse.stardust.common.security.authentication.DefaultCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class DefaultCallbackHandler
extends Object
implements CallbackHandler

Implement callback handling without user interaction.

User name and password are provided in the cosntructor.


Constructor Summary
DefaultCallbackHandler(String name, char[] aPassword)
           
 
Method Summary
 void handle(Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCallbackHandler

public DefaultCallbackHandler(String name,
                              char[] aPassword)
Method Detail

handle

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


Copyright © 2017 Eclipse Stardust. All Rights Reserved.