public class XMLDocAuthenticator extends Object implements Authenticator
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
XMLDocAuthenticator() |
XMLDocAuthenticator(boolean b)
an empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
authenticate(String userID,
String credential)
This function is called from the Security API's GetAuthToken().
|
protected String |
getFilename() |
UddiEntityPublisher |
identify(String authInfo,
String authorizedName,
WebServiceContext ctx) |
void |
readUserFile()
Read user data from the juddi-users file.
|
public XMLDocAuthenticator()
throws JAXBException,
IOException,
org.apache.commons.configuration.ConfigurationException
JAXBExceptionIOExceptionorg.apache.commons.configuration.ConfigurationExceptionpublic XMLDocAuthenticator(boolean b)
protected String getFilename() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationExceptionpublic void readUserFile()
throws JAXBException,
IOException,
org.apache.commons.configuration.ConfigurationException
IOException - when the file cannot be opened JAXBException when
the content is malformed.org.apache.commons.configuration.ConfigurationExceptionJAXBExceptionpublic String authenticate(String userID, String credential) throws AuthenticationException, FatalErrorException
Authenticatorauthenticate in interface AuthenticatoruserID - credential - AuthenticationExceptionFatalErrorExceptionpublic UddiEntityPublisher identify(String authInfo, String authorizedName, WebServiceContext ctx) throws AuthenticationException
identify in interface AuthenticatorAuthenticationExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.