public interface Authorizer
Modifier and Type | Interface and Description |
---|---|
static class |
Authorizer.Failure
Convenient impl for failures
|
static interface |
Authorizer.Result
ResultObject that encapsulates the result and the reason if something is not OK.
|
Modifier and Type | Field and Description |
---|---|
static Authorizer |
ALWAYS |
Modifier and Type | Method and Description |
---|---|
Authorizer.Result |
isSearchRequestAuthorized(com.atlassian.crowd.embedded.api.User user,
SearchRequest searchRequest,
SearchRequestParams params)
Can the specified user perform this SearchRequest?
|
static final Authorizer ALWAYS
Authorizer.Result isSearchRequestAuthorized(com.atlassian.crowd.embedded.api.User user, SearchRequest searchRequest, SearchRequestParams params)
user
- who is trying to perform thesearchRequest
- they are attemptingparams
- the parameters for the search (such as tempMax etc)Copyright © 2002-2015 Atlassian. All Rights Reserved.