org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers
Class SimplePropertyFileUserVerifier
java.lang.Object
org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.PasswordVerifier
org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.UserVerifier
org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.SimplePropertyFileUserVerifier
- All Implemented Interfaces:
- ESUserVerifier
public class SimplePropertyFileUserVerifier
- extends UserVerifier
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
Methods inherited from class org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.UserVerifier |
verifyUser |
SimplePropertyFileUserVerifier
public SimplePropertyFileUserVerifier(ESOrgUnitProvider orgUnitProvider,
String propertyFilePath)
throws FatalESException
- Default constructor. No hash will be used for passwords
- Parameters:
orgUnitProvider
- provides access to users and groupspropertyFilePath
- path to file
- Throws:
FatalESException
- in case of failure
SimplePropertyFileUserVerifier
public SimplePropertyFileUserVerifier(ESOrgUnitProvider orgUnitProvider,
String propertyFilePath,
SimplePropertyFileUserVerifier.Hash hash)
throws FatalESException
- Constructor with ability to select hash algorithm for password.
- Parameters:
orgUnitProvider
- provides access to users and groupspropertyFilePath
- path to filehash
- selected hash
- Throws:
FatalESException
- if hash is null
init
public void init(ESOrgUnitProvider orgUnitProvider)
- Initializes this verifier.
- Parameters:
orgUnitProvider
- the ESOrgUnitProvider
that can be used to obtain organizational units- See Also:
ESUserVerifier.init(org.eclipse.emf.emfstore.server.model.ESOrgUnitProvider)
Copyright © 2016. All Rights Reserved.