public class CryptedXMLDocAuthenticator extends XMLDocAuthenticator
log| Constructor and Description |
|---|
CryptedXMLDocAuthenticator() |
| 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() |
identify, readUserFilepublic CryptedXMLDocAuthenticator()
throws JAXBException,
IOException,
org.apache.commons.configuration.ConfigurationException
IOExceptionJAXBExceptionorg.apache.commons.configuration.ConfigurationExceptionprotected String getFilename() throws org.apache.commons.configuration.ConfigurationException
getFilename in class XMLDocAuthenticatororg.apache.commons.configuration.ConfigurationExceptionpublic String authenticate(String userID, String credential) throws AuthenticationException, FatalErrorException
Authenticatorauthenticate in interface Authenticatorauthenticate in class XMLDocAuthenticatoruserID - - userId of the user making the registry requestcredential - - some authentical creditial (i.e. a password) which can be used to
authenticate the user.AuthenticationExceptionFatalErrorExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.