public class AuthorizerImpl extends Object implements Authorizer
Authorizer.Failure, Authorizer.ResultALWAYS| Constructor and Description |
|---|
AuthorizerImpl(SearchService searchService,
ApplicationProperties properties,
GroupManager groupManager) |
| Modifier and Type | Method and Description |
|---|---|
Authorizer.Result |
isSearchRequestAuthorized(ApplicationUser user,
SearchRequest searchRequest,
SearchRequestParams params)
Can the specified user perform this SearchRequest?
|
public AuthorizerImpl(SearchService searchService, ApplicationProperties properties, GroupManager groupManager)
public Authorizer.Result isSearchRequestAuthorized(ApplicationUser user, SearchRequest searchRequest, SearchRequestParams params)
AuthorizerisSearchRequestAuthorized in interface Authorizeruser - who is trying to perform thesearchRequest - they are attemptingparams - the parameters for the search (such as tempMax etc)Copyright © 2002-2022 Atlassian. All Rights Reserved.