org.apache.juddi.v3.auth
Class CryptedXMLDocAuthenticator

java.lang.Object
  extended by org.apache.juddi.v3.auth.XMLDocAuthenticator
      extended by org.apache.juddi.v3.auth.CryptedXMLDocAuthenticator
All Implemented Interfaces:
Authenticator

public class CryptedXMLDocAuthenticator
extends XMLDocAuthenticator

Author:
Anou Manavalan

Constructor Summary
CryptedXMLDocAuthenticator()
           
 
Method Summary
 java.lang.String authenticate(java.lang.String userID, java.lang.String credential)
           
protected  java.lang.String getFilename()
           
 
Methods inherited from class org.apache.juddi.v3.auth.XMLDocAuthenticator
identify, readUserFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptedXMLDocAuthenticator

public CryptedXMLDocAuthenticator()
                           throws javax.xml.bind.JAXBException,
                                  java.io.IOException,
                                  org.apache.commons.configuration.ConfigurationException
Throws:
java.io.IOException
javax.xml.bind.JAXBException
org.apache.commons.configuration.ConfigurationException
Method Detail

getFilename

protected java.lang.String getFilename()
                                throws org.apache.commons.configuration.ConfigurationException
Overrides:
getFilename in class XMLDocAuthenticator
Throws:
org.apache.commons.configuration.ConfigurationException

authenticate

public java.lang.String authenticate(java.lang.String userID,
                                     java.lang.String credential)
                              throws AuthenticationException,
                                     FatalErrorException
Specified by:
authenticate in interface Authenticator
Overrides:
authenticate in class XMLDocAuthenticator
Parameters:
userID - - userId of the user making the registry request
credential - - some authentical creditial (i.e. a password) which can be used to authenticate the user.
Returns:
The publisherID for this user
Throws:
AuthenticationException
FatalErrorException


Copyright © 2004-2009. All Rights Reserved.