com.atlassian.jira.plugin.searchrequestview.auth
Class AuthorizerImpl
java.lang.Object
com.atlassian.jira.plugin.searchrequestview.auth.AuthorizerImpl
- All Implemented Interfaces:
- Authorizer
public class AuthorizerImpl
- extends Object
- implements Authorizer
The one we deploy for production, other impls have unit tests, this one builds an aggregate of those.
Fields inherited from interface com.atlassian.jira.plugin.searchrequestview.auth.Authorizer |
ALWAYS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizerImpl
public AuthorizerImpl(SearchProvider searchProvider,
ApplicationProperties properties,
GroupManager groupManager)
isSearchRequestAuthorized
public Authorizer.Result isSearchRequestAuthorized(com.atlassian.crowd.embedded.api.User user,
SearchRequest searchRequest,
SearchRequestParams params)
- Description copied from interface:
Authorizer
- Can the specified user perform this SearchRequest?
- Specified by:
isSearchRequestAuthorized
in interface Authorizer
- Parameters:
user
- who is trying to perform thesearchRequest
- they are attemptingparams
- the parameters for the search (such as tempMax etc)
- Returns:
- Result that says yay or nay, must not be null
Copyright © 2002-2014 Atlassian. All Rights Reserved.