Package com.floragunn.searchguard.user
Class UserAttributes
- java.lang.Object
-
- com.floragunn.searchguard.user.UserAttributes
-
public class UserAttributes extends Object
-
-
Constructor Summary
Constructors Constructor Description UserAttributes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,com.jayway.jsonpath.JsonPath>getAttributeMapping(org.elasticsearch.common.settings.Settings settings)static Map<String,String>getFlatAttributeMapping(org.elasticsearch.common.settings.Settings settings)static StringreplaceAttributes(String string, User user)static voidvalidate(Object value)
-
-
-
Method Detail
-
getAttributeMapping
public static Map<String,com.jayway.jsonpath.JsonPath> getAttributeMapping(org.elasticsearch.common.settings.Settings settings)
-
getFlatAttributeMapping
public static Map<String,String> getFlatAttributeMapping(org.elasticsearch.common.settings.Settings settings)
-
replaceAttributes
public static String replaceAttributes(String string, User user) throws StringInterpolationException
- Throws:
StringInterpolationException
-
validate
public static void validate(Object value)
-
-