org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers
Class SimplePropertyFileVerifier
java.lang.Object
org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.AbstractAuthenticationControl
org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.SimplePropertyFileVerifier
- All Implemented Interfaces:
- AuthenticationControl
public class SimplePropertyFileVerifier
- extends AbstractAuthenticationControl
This verifier can be used to store user and passwords in a property file. Entries in the property file look should
look like this: user = password
- Author:
- wesendonk
SimplePropertyFileVerifier
public SimplePropertyFileVerifier(String filePath)
throws FatalESException
- Default constructor. No hash will be used for passwords
- Parameters:
filePath
- path to password file
- Throws:
FatalESException
- in case of failure- See Also:
SimplePropertyFileVerifier(String, Hash)
SimplePropertyFileVerifier
public SimplePropertyFileVerifier(String filePath,
SimplePropertyFileVerifier.Hash hash)
throws FatalESException
- Constructor with ability to select hash algorithm for password.
- Parameters:
filePath
- path to filehash
- selected hash
- Throws:
FatalESException
- if hash is null
Copyright © 2015. All Rights Reserved.