Package ome.services.util
Class DBUserCheck
- java.lang.Object
-
- ome.services.util.DBUserCheck
-
public class DBUserCheck extends java.lang.Object
Hook run by the context. This hook examines the database for the well known user info on creation and provides them to the Spring context viagetRoles()
.- Since:
- 5.0.0-beta2
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description DBUserCheck(ome.util.SqlAction sql, ome.system.PreferenceContext prefs, ReadOnlyStatus readOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ome.system.Roles
getRoles()
ome.system.Roles
load()
-
-
-
Constructor Detail
-
DBUserCheck
public DBUserCheck(ome.util.SqlAction sql, ome.system.PreferenceContext prefs, ReadOnlyStatus readOnly) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-