org.apache.juddi.v3.auth
Class CryptedXMLDocAuthenticator
java.lang.Object
org.apache.juddi.v3.auth.XMLDocAuthenticator
org.apache.juddi.v3.auth.CryptedXMLDocAuthenticator
- All Implemented Interfaces:
- Authenticator
public class CryptedXMLDocAuthenticator
- extends XMLDocAuthenticator
- Author:
- Anou Manavalan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CryptedXMLDocAuthenticator
public CryptedXMLDocAuthenticator()
throws javax.xml.bind.JAXBException,
IOException,
org.apache.commons.configuration.ConfigurationException
- Throws:
IOException
javax.xml.bind.JAXBException
org.apache.commons.configuration.ConfigurationException
getFilename
protected String getFilename()
throws org.apache.commons.configuration.ConfigurationException
- Overrides:
getFilename
in class XMLDocAuthenticator
- Throws:
org.apache.commons.configuration.ConfigurationException
authenticate
public String authenticate(String userID,
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 requestcredential
- - 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-2013 The Apache Software Foundation. All Rights Reserved.