| Modifier and Type | Field and Description |
|---|---|
private static IAuthenticationDBHelper |
AUTHENTICATION_SERVICE
Access to the authentication system.
|
private static org.apache.logging.log4j.Logger |
LOG
Logger.
|
| Constructor and Description |
|---|
DOIUsersUpdate() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
isContained(AuthSystemUser authMember,
List<DOIUser> dbusers)
Tests if the authMember of the authentication mechanism is contained in
the users from the database.
|
private boolean |
isContained(DOIUser dbuser,
List<AuthSystemUser> authMembers)
Tests if a user from the database is contained in the members from the
authentication system.
|
void |
run() |
private void |
updateDoiServerDataBaseFromAuthSystem()
Fills the DOI users database from the members of the authentication
system.
|
private static final org.apache.logging.log4j.Logger LOG
private static final IAuthenticationDBHelper AUTHENTICATION_SERVICE
private void updateDoiServerDataBaseFromAuthSystem()
throws AuthenticationAccessException,
DOIDbException
AuthenticationAccessException - When an authentication problem
occursDOIDbException - When a SQL problem occursprivate boolean isContained(AuthSystemUser authMember, List<DOIUser> dbusers)
authMember - authMember of the authentication mechanismdbusers - users databaseprivate boolean isContained(DOIUser dbuser, List<AuthSystemUser> authMembers)
dbuser - the user from the databaseauthMembers - the users from the authentication systemCopyright © 2017–2020 CNES. All rights reserved.