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, readUserFile
public CryptedXMLDocAuthenticator() throws JAXBException, IOException, org.apache.commons.configuration.ConfigurationException
IOException
JAXBException
org.apache.commons.configuration.ConfigurationException
protected String getFilename() throws org.apache.commons.configuration.ConfigurationException
getFilename
in class XMLDocAuthenticator
org.apache.commons.configuration.ConfigurationException
public String authenticate(String userID, String credential) throws AuthenticationException, FatalErrorException
Authenticator
authenticate
in interface Authenticator
authenticate
in class XMLDocAuthenticator
userID
- - userId of the user making the registry requestcredential
- - some authentical creditial (i.e. a password) which can be used to
authenticate the user.AuthenticationException
FatalErrorException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.