ru.goodidea.security
Class DocAuthCallbackHandler

java.lang.Object
  extended by ru.goodidea.security.DocAuthCallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

public class DocAuthCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler

Implementation of a CallbackHandler for performing authentication with Wave using JAAS.

Version:
$Id: DocAuthCallbackHandler.java,v 1.3 2007/04/13 21:02:03 kostya Exp $
Author:
Konstantin Pupkov

Constructor Summary
DocAuthCallbackHandler(java.lang.String username, java.lang.String password)
          Creates a WaveAuthCallbackHandler with username and password.
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
          Retrieve or display the information requested in the provided Callbacks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocAuthCallbackHandler

public DocAuthCallbackHandler(java.lang.String username,
                              java.lang.String password)
Creates a WaveAuthCallbackHandler with username and password.

Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws javax.security.auth.callback.UnsupportedCallbackException
Retrieve or display the information requested in the provided Callbacks.

Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Throws:
javax.security.auth.callback.UnsupportedCallbackException


Copyright © 2009. All Rights Reserved.