org.jdesktop.wonderland.server.auth
Class WebServiceAuthenticator

java.lang.Object
  extended by org.jdesktop.wonderland.server.auth.WebServiceAuthenticator
All Implemented Interfaces:
com.sun.sgs.auth.IdentityAuthenticator

public class WebServiceAuthenticator
extends java.lang.Object
implements com.sun.sgs.auth.IdentityAuthenticator

An authenticator that reads all data from what the user passes in in the username field. No attempt is made to authenticate the user, but the user's name is filled in based on the passed in data.

Author:
jkaplan

Constructor Summary
WebServiceAuthenticator(java.util.Properties prop)
           
 
Method Summary
 com.sun.sgs.auth.Identity authenticateIdentity(com.sun.sgs.auth.IdentityCredentials credentials)
           
 java.lang.String[] getSupportedCredentialTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceAuthenticator

public WebServiceAuthenticator(java.util.Properties prop)
Method Detail

getSupportedCredentialTypes

public java.lang.String[] getSupportedCredentialTypes()
Specified by:
getSupportedCredentialTypes in interface com.sun.sgs.auth.IdentityAuthenticator

authenticateIdentity

public com.sun.sgs.auth.Identity authenticateIdentity(com.sun.sgs.auth.IdentityCredentials credentials)
                                               throws javax.security.auth.login.LoginException
Specified by:
authenticateIdentity in interface com.sun.sgs.auth.IdentityAuthenticator
Throws:
javax.security.auth.login.LoginException


Open Wonderland - http://openwonderland.org