Class InternalAuthTokenProvider.AuthFromInternalAuthToken
- java.lang.Object
-
- com.floragunn.searchguard.internalauthtoken.InternalAuthTokenProvider.AuthFromInternalAuthToken
-
- All Implemented Interfaces:
SpecialPrivilegesEvaluationContext
- Enclosing class:
- InternalAuthTokenProvider
public static class InternalAuthTokenProvider.AuthFromInternalAuthToken extends Object implements SpecialPrivilegesEvaluationContext
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.common.transport.TransportAddressgetCaller()Set<String>getMappedRoles()SgRolesgetSgRoles()UsergetUser()booleanrequiresPrivilegeEvaluationForLocalRequests()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.floragunn.searchguard.privileges.SpecialPrivilegesEvaluationContext
isSgConfigRestApiAllowed
-
-
-
-
Method Detail
-
getUser
public User getUser()
- Specified by:
getUserin interfaceSpecialPrivilegesEvaluationContext
-
getSgRoles
public SgRoles getSgRoles()
- Specified by:
getSgRolesin interfaceSpecialPrivilegesEvaluationContext
-
getMappedRoles
public Set<String> getMappedRoles()
- Specified by:
getMappedRolesin interfaceSpecialPrivilegesEvaluationContext
-
getCaller
public org.elasticsearch.common.transport.TransportAddress getCaller()
- Specified by:
getCallerin interfaceSpecialPrivilegesEvaluationContext
-
requiresPrivilegeEvaluationForLocalRequests
public boolean requiresPrivilegeEvaluationForLocalRequests()
- Specified by:
requiresPrivilegeEvaluationForLocalRequestsin interfaceSpecialPrivilegesEvaluationContext
-
-