JBoss Remoting 3.1.0.Beta1

org.jboss.remoting3.security
Class SimpleServerAuthenticationProvider

java.lang.Object
  extended by org.jboss.remoting3.security.SimpleServerAuthenticationProvider
All Implemented Interfaces:
ServerAuthenticationProvider

public final class SimpleServerAuthenticationProvider
extends Object
implements ServerAuthenticationProvider

A server authentication handler which maintains a simple map of user names and passwords.


Constructor Summary
SimpleServerAuthenticationProvider()
           
 
Method Summary
 void addUser(String userName, String userRealm, char[] password)
          Add a user to the authentication table.
 CallbackHandler getCallbackHandler()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServerAuthenticationProvider

public SimpleServerAuthenticationProvider()
Method Detail

getCallbackHandler

public CallbackHandler getCallbackHandler()

Specified by:
getCallbackHandler in interface ServerAuthenticationProvider

addUser

public void addUser(String userName,
                    String userRealm,
                    char[] password)
Add a user to the authentication table.

Parameters:
userName - the user name
userRealm - the user realm
password - the password

JBoss Remoting 3.1.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.