Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cryptix.sasl.rmi
Class RMICallbackHandler  view RMICallbackHandler download RMICallbackHandler.java

java.lang.Object
  extended bycryptix.sasl.rmi.RMICallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

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

A default callback handler for RMI. Always returns the IP host name string as the username, and the string 'rmi' as its password.

Should be replaced by a user-defined callback handler and specified to the JVM by giving the fully qualified classname of that handler as a java option (-Dname=value) to the interpreter as the value of the system property: cryptix.sasl.rmi.callback.handler.

Version:
$Revision: 1.1 $

Field Summary
private static org.apache.log4j.Category cat
           
 
Constructor Summary
RMICallbackHandler()
           
 
Method Summary
 void invokeCallback(javax.security.auth.callback.Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.security.auth.callback.CallbackHandler
handle
 

Field Detail

cat

private static org.apache.log4j.Category cat
Constructor Detail

RMICallbackHandler

public RMICallbackHandler()
Method Detail

invokeCallback

public void invokeCallback(javax.security.auth.callback.Callback[] callbacks)
                    throws java.io.IOException,
                           javax.security.auth.callback.UnsupportedCallbackException