Class InternalUsersDatabase
- java.lang.Object
-
- com.floragunn.searchguard.sgconf.InternalUsersModel
-
- com.floragunn.searchguard.sgconf.internal_users_db.InternalUsersDatabase
-
public class InternalUsersDatabase extends InternalUsersModel
-
-
Constructor Summary
Constructors Constructor Description InternalUsersDatabase(DynamicConfigFactory dynamicConfigFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(String user)Map<String,Object>getAttributes(String user)List<String>getBackenRoles(String user)StringgetDescription(String user)StringgetHash(String user)List<String>getSearchGuardRoles(String user)
-
-
-
Constructor Detail
-
InternalUsersDatabase
public InternalUsersDatabase(DynamicConfigFactory dynamicConfigFactory)
-
-
Method Detail
-
exists
public boolean exists(String user)
- Specified by:
existsin classInternalUsersModel
-
getBackenRoles
public List<String> getBackenRoles(String user)
- Specified by:
getBackenRolesin classInternalUsersModel
-
getAttributes
public Map<String,Object> getAttributes(String user)
- Specified by:
getAttributesin classInternalUsersModel
-
getDescription
public String getDescription(String user)
- Specified by:
getDescriptionin classInternalUsersModel
-
getHash
public String getHash(String user)
- Specified by:
getHashin classInternalUsersModel
-
getSearchGuardRoles
public List<String> getSearchGuardRoles(String user)
- Specified by:
getSearchGuardRolesin classInternalUsersModel
-
-