Uses of Class
com.floragunn.searchguard.user.User
-
-
Uses of User in com.floragunn.searchguard.auth
Methods in com.floragunn.searchguard.auth that return User Modifier and Type Method Description UserBackendRegistry. authenticate(org.elasticsearch.transport.TransportRequest request, String sslPrincipal, org.elasticsearch.tasks.Task task, String action)UserAuthInfoService. getCurrentUser()UserAuthczResult. getUser()UserAuthInfoService. peekCurrentUser()Methods in com.floragunn.searchguard.auth with parameters of type User Modifier and Type Method Description voidAuthorizationProcessor. authz(User authenticatedUser, Consumer<User> onSuccess, Consumer<Exception> onFailure)static AuthczResultAuthczResult. pass(User user)Method parameters in com.floragunn.searchguard.auth with type arguments of type User Modifier and Type Method Description voidAuthorizationProcessor. authz(User authenticatedUser, Consumer<User> onSuccess, Consumer<Exception> onFailure)Constructors in com.floragunn.searchguard.auth with parameters of type User Constructor Description AuthczResult(User user, AuthczResult.Status status)RestImpersonationProcessor(User originalUser, String impersonatedUserHeader, Collection<AuthenticationDomain> authenticationDomains, Set<AuthorizationDomain> authorizationDomains, AdminDNs adminDns, com.google.common.cache.Cache<String,User> impersonationCache)Constructor parameters in com.floragunn.searchguard.auth with type arguments of type User Constructor Description AuthorizationProcessor(Set<AuthorizationDomain> authorizationDomains, com.google.common.cache.Cache<User,Set<String>> roleCache)RestAuthenticationProcessor(org.elasticsearch.rest.RestHandler restHandler, org.elasticsearch.rest.RestRequest restRequest, org.elasticsearch.rest.RestChannel restChannel, inet.ipaddr.IPAddress remoteIpAddress, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Collection<AuthenticationDomain> authenticationDomains, Set<AuthorizationDomain> authorizationDomains, AdminDNs adminDns, com.google.common.cache.Cache<AuthCredentials,User> userCache, com.google.common.cache.Cache<User,Set<String>> roleCache, com.google.common.cache.Cache<String,User> impersonationCache, AuditLog auditLog, com.google.common.collect.Multimap<String,AuthFailureListener> authBackendFailureListeners, com.google.common.collect.Multimap<String,ClientBlockRegistry<String>> authBackendClientBlockRegistries, List<AuthFailureListener> ipAuthFailureListeners, boolean anonymousAuthEnabled)RestImpersonationProcessor(User originalUser, String impersonatedUserHeader, Collection<AuthenticationDomain> authenticationDomains, Set<AuthorizationDomain> authorizationDomains, AdminDNs adminDns, com.google.common.cache.Cache<String,User> impersonationCache) -
Uses of User in com.floragunn.searchguard.auth.api
Methods in com.floragunn.searchguard.auth.api that return User Modifier and Type Method Description UserSyncAuthenticationBackend. authenticate(AuthCredentials credentials)Validate credentials and return an authenticated user (or throw an ElasticsearchSecurityException)Methods in com.floragunn.searchguard.auth.api with parameters of type User Modifier and Type Method Description booleanAuthenticationBackend. exists(User user)Lookup for a specific user in the authentication backendvoidSyncAuthorizationBackend. fillRoles(User user, AuthCredentials credentials)Populate aUserwith backend roles.voidAuthorizationBackend. retrieveRoles(User user, AuthCredentials credentials, Consumer<Collection<String>> onSuccess, Consumer<Exception> onFailure)Populate aUserwith backend roles.default voidSyncAuthorizationBackend. retrieveRoles(User user, AuthCredentials credentials, Consumer<Collection<String>> onSuccess, Consumer<Exception> onFailure)Method parameters in com.floragunn.searchguard.auth.api with type arguments of type User Modifier and Type Method Description voidAuthenticationBackend. authenticate(AuthCredentials credentials, Consumer<User> onSuccess, Consumer<Exception> onFailure)Validate credentials and return an authenticated user (or throw an ElasticsearchSecurityException)default voidSyncAuthenticationBackend. authenticate(AuthCredentials credentials, Consumer<User> onSuccess, Consumer<Exception> onFailure)Validate credentials and return an authenticated user (or throw an ElasticsearchSecurityException) -
Uses of User in com.floragunn.searchguard.auth.internal
Methods in com.floragunn.searchguard.auth.internal that return User Modifier and Type Method Description UserInternalAuthenticationBackend. authenticate(AuthCredentials credentials)UserNoOpAuthenticationBackend. authenticate(AuthCredentials credentials)Methods in com.floragunn.searchguard.auth.internal with parameters of type User Modifier and Type Method Description booleanInternalAuthenticationBackend. exists(User user)booleanNoOpAuthenticationBackend. exists(User user)voidInternalAuthenticationBackend. fillRoles(User user, AuthCredentials credentials)voidNoOpAuthorizationBackend. retrieveRoles(User user, AuthCredentials credentials, Consumer<Collection<String>> onSuccess, Consumer<Exception> onFailure) -
Uses of User in com.floragunn.searchguard.configuration
Methods in com.floragunn.searchguard.configuration with parameters of type User Modifier and Type Method Description booleanAdminDNs. isAdmin(User user) -
Uses of User in com.floragunn.searchguard.internalauthtoken
Methods in com.floragunn.searchguard.internalauthtoken that return User Modifier and Type Method Description UserInternalAuthTokenProvider.AuthFromInternalAuthToken. getUser()Methods in com.floragunn.searchguard.internalauthtoken with parameters of type User Modifier and Type Method Description StringInternalAuthTokenProvider. getJwt(User user, String aud)StringInternalAuthTokenProvider. getJwt(User user, String aud, TemporalAmount validity)InternalAuthTokenProvider.AuthFromInternalAuthTokenInternalAuthTokenProvider. userAuthFromToken(User user, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)voidInternalAuthTokenProvider. userAuthFromToken(User user, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Consumer<SpecialPrivilegesEvaluationContext> onResult, Consumer<Exception> onFailure) -
Uses of User in com.floragunn.searchguard.privileges
Methods in com.floragunn.searchguard.privileges that return User Modifier and Type Method Description UserSpecialPrivilegesEvaluationContext. getUser()Methods in com.floragunn.searchguard.privileges with parameters of type User Modifier and Type Method Description PrivilegesEvaluatorResponsePrivilegesEvaluator. evaluate(User user, String action0, org.elasticsearch.action.ActionRequest request, org.elasticsearch.tasks.Task task, SpecialPrivilegesEvaluationContext specialPrivilegesEvaluationContext)PrivilegesEvaluatorResponseTermsAggregationEvaluator. evaluate(IndexResolverReplacer.Resolved resolved, org.elasticsearch.action.ActionRequest request, org.elasticsearch.cluster.service.ClusterService clusterService, User user, SgRoles sgRoles, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, PrivilegesEvaluatorResponse presponse)Map<String,Boolean>PrivilegesEvaluator. evaluateClusterAndTenantPrivileges(User user, org.elasticsearch.common.transport.TransportAddress caller, Collection<String> privilegesAskedFor)booleanPrivilegesEvaluator. hasClusterPermission(User user, String action)Set<String>PrivilegesEvaluator. mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)Map<String,Boolean>PrivilegesEvaluator. mapTenants(User user, Set<String> roles)Only used for authinfo REST APIvoidSpecialPrivilegesEvaluationContextProvider. provide(User user, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Consumer<SpecialPrivilegesEvaluationContext> onResult, Consumer<Exception> onFailure)SpecialPrivilegesEvaluationContextSpecialPrivilegesEvaluationContextProviderRegistry. provide(User user, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)voidSpecialPrivilegesEvaluationContextProviderRegistry. provide(User user, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Consumer<SpecialPrivilegesEvaluationContext> onResult, Consumer<Exception> onFailure)PrivilegesInterceptor.InterceptionResultPrivilegesInterceptor. replaceKibanaIndex(org.elasticsearch.action.ActionRequest request, String action, User user, IndexResolverReplacer.Resolved requestedResolved, SgRoles sgRoles) -
Uses of User in com.floragunn.searchguard.privileges.extended_action_handling
Methods in com.floragunn.searchguard.privileges.extended_action_handling with parameters of type User Modifier and Type Method Description <Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>
voidExtendedActionHandlingService. apply(ActionConfig actionConfig, User currentUser, org.elasticsearch.tasks.Task task, String action, Request actionRequest, org.elasticsearch.action.ActionListener<Response> actionListener, org.elasticsearch.action.support.ActionFilterChain<Request,Response> chain)<R extends org.elasticsearch.action.ActionResponse>
org.elasticsearch.action.ActionListener<R>ResourceOwnerService. applyCreatePostAction(ActionConfig actionConfig, User currentUser, org.elasticsearch.action.ActionListener<R> actionListener)<Request extends org.elasticsearch.action.ActionRequest,R extends org.elasticsearch.action.ActionResponse>
org.elasticsearch.action.ActionListener<R>ResourceOwnerService. applyDeletePostAction(ActionConfig actionConfig, ActionConfig.Resource resource, User currentUser, org.elasticsearch.tasks.Task task, String action, Request actionRequest, org.elasticsearch.action.ActionListener<R> actionListener)<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>
org.elasticsearch.action.support.ActionFilterChain<Request,Response>ResourceOwnerService. applyOwnerCheckPreAction(ActionConfig actionConfig, User currentUser, org.elasticsearch.tasks.Task task, String action, Request actionRequest, org.elasticsearch.action.ActionListener<Response> listener, org.elasticsearch.action.support.ActionFilterChain<Request,Response> chain)<Request extends org.elasticsearch.action.ActionRequest,R extends org.elasticsearch.action.ActionResponse>
org.elasticsearch.action.ActionListener<R>ExtendedActionHandlingService. applyPostAction(ActionConfig actionConfig, User currentUser, org.elasticsearch.tasks.Task task, String action, Request actionRequest, org.elasticsearch.action.ActionListener<R> actionListener)<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>
voidExtendedActionHandlingService. applyPreAction(ActionConfig actionConfig, User currentUser, org.elasticsearch.tasks.Task task, String action, Request actionRequest, org.elasticsearch.action.ActionListener<Response> listener, org.elasticsearch.action.support.ActionFilterChain<Request,Response> chain)voidResourceOwnerService. checkOwner(String resourceType, Object id, User currentUser, org.elasticsearch.action.ActionListener<com.floragunn.searchguard.privileges.extended_action_handling.ResourceOwnerService.CheckOwnerResponse> actionListener)voidResourceOwnerService. storeOwner(String resourceType, Object id, User owner, long expires, org.elasticsearch.action.ActionListener<org.elasticsearch.action.index.IndexResponse> actionListener) -
Uses of User in com.floragunn.searchguard.sgconf
Methods in com.floragunn.searchguard.sgconf with parameters of type User Modifier and Type Method Description booleanConfigModelV6.SgRoles. get(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)booleanConfigModelV7.SgRoles. get(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)abstract booleanSgRoles. get(IndexResolverReplacer.Resolved requestedResolved, User user, String[] allIndexPermsRequiredA, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService clusterService)Set<String>ConfigModelV6.SgRoles. getAllPermittedIndicesForKibana(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)Set<String>ConfigModelV7.SgRoles. getAllPermittedIndicesForKibana(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)abstract Set<String>SgRoles. getAllPermittedIndicesForKibana(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)Set<String>ConfigModelV6.SgRoles. getClusterPermissions(User user)Set<String>ConfigModelV7.SgRoles. getClusterPermissions(User user)abstract Set<String>SgRoles. getClusterPermissions(User user)EvaluatedDlsFlsConfigConfigModelV6.SgRoles. getDlsFls(User user, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs, org.elasticsearch.xcontent.NamedXContentRegistry namedXContentRegistry)EvaluatedDlsFlsConfigConfigModelV7.SgRoles. getDlsFls(User user, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs, org.elasticsearch.xcontent.NamedXContentRegistry namedXContentRegistry)abstract EvaluatedDlsFlsConfigSgRoles. getDlsFls(User user, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.xcontent.NamedXContentRegistry namedXContentRegistry)StringConfigModelV6.IndexPattern. getDlsQuery(User user)StringConfigModelV7.IndexPattern. getDlsQuery(User user)StringConfigModelV7.Tenant. getEvaluatedTenantPattern(User user)SgRoles.TenantPermissionsConfigModelV6.SgRoles. getTenantPermissions(User user, String requestedTenant)SgRoles.TenantPermissionsConfigModelV7.SgRoles. getTenantPermissions(User user, String requestedTenant)abstract SgRoles.TenantPermissionsSgRoles. getTenantPermissions(User user, String requestedTenant)StringConfigModelV6.IndexPattern. getUnresolvedIndexPattern(User user)StringConfigModelV7.IndexPattern. getUnresolvedIndexPattern(User user)booleanConfigModelV6.SgRoles. hasTenantPermission(User user, String requestedTenant, String action)booleanConfigModelV7.SgRoles. hasTenantPermission(User user, String requestedTenant, String action)abstract booleanSgRoles. hasTenantPermission(User user, String requestedTenant, String action)booleanConfigModelV6.SgRoles. impliesTypePermGlobal(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)booleanConfigModelV7.SgRoles. impliesTypePermGlobal(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)abstract booleanSgRoles. impliesTypePermGlobal(IndexResolverReplacer.Resolved requestedResolved, User user, String[] allIndexPermsRequiredA, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService clusterService)abstract Set<String>ConfigModel. mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)Set<String>ConfigModelV6. mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)Set<String>ConfigModelV7. mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)Map<String,Boolean>ConfigModelV6.SgRoles. mapTenants(User user, Set<String> allTenantNames)Map<String,Boolean>ConfigModelV7.SgRoles. mapTenants(User user, Set<String> allTenantNames)abstract Map<String,Boolean>SgRoles. mapTenants(User user, Set<String> allTenantNames)Only used for authinfo REST APIbooleanConfigModelV7.ExcludedIndexPermissions. matches(Set<String> indices, User user, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)Set<String>ConfigModelV6.SgRoles. reduce(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)Set<String>ConfigModelV7.SgRoles. reduce(IndexResolverReplacer.Resolved resolved, User user, String[] actions, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs)abstract Set<String>SgRoles. reduce(IndexResolverReplacer.Resolved requestedResolved, User user, String[] strings, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService clusterService)voidConfigModelV7.ExcludedIndexPermissions. removeMatches(Set<String> indices, User user, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver resolver, org.elasticsearch.cluster.service.ClusterService cs) -
Uses of User in com.floragunn.searchguard.user
Fields in com.floragunn.searchguard.user declared as User Modifier and Type Field Description static UserUser. ANONYMOUSMethods in com.floragunn.searchguard.user that return User Modifier and Type Method Description UserUser.Builder. build()Methods in com.floragunn.searchguard.user with parameters of type User Modifier and Type Method Description static AuthDomainInfoAuthDomainInfo. from(User user)static StringUserAttributes. replaceAttributes(String string, User user)
-