com.atlassian.jira.web.util
Class DefaultAuthorizationSupport
java.lang.Object
com.atlassian.jira.web.util.DefaultAuthorizationSupport
- All Implemented Interfaces:
- AuthorizationSupport
public class DefaultAuthorizationSupport
- extends Object
- implements AuthorizationSupport
Implementation of the authorization checks defined in AuthorizationSupport
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAuthorizationSupport
public DefaultAuthorizationSupport(PermissionManager permissionManager,
JiraAuthenticationContext jiraAuthenticationContext)
isHasPermission
public boolean isHasPermission(String permName)
- Specified by:
isHasPermission
in interface AuthorizationSupport
isHasPermission
public boolean isHasPermission(int permissionsId)
- Specified by:
isHasPermission
in interface AuthorizationSupport
isHasIssuePermission
public boolean isHasIssuePermission(String permName,
org.ofbiz.core.entity.GenericValue issue)
- Specified by:
isHasIssuePermission
in interface AuthorizationSupport
isHasIssuePermission
public boolean isHasIssuePermission(int permissionsId,
org.ofbiz.core.entity.GenericValue issue)
- Specified by:
isHasIssuePermission
in interface AuthorizationSupport
isHasProjectPermission
public boolean isHasProjectPermission(String permName,
org.ofbiz.core.entity.GenericValue project)
- Specified by:
isHasProjectPermission
in interface AuthorizationSupport
isHasProjectPermission
public boolean isHasProjectPermission(int permissionsId,
org.ofbiz.core.entity.GenericValue project)
- Specified by:
isHasProjectPermission
in interface AuthorizationSupport
isHasPermission
@Deprecated
public boolean isHasPermission(String permName,
org.ofbiz.core.entity.GenericValue entity)
- Deprecated.
- Description copied from interface:
AuthorizationSupport
- Returns true if remote user has permission over given entity, false otherwise.
- Specified by:
isHasPermission
in interface AuthorizationSupport
- Parameters:
permName
- permission typeentity
- entity to check the permission for, e.g. project, issue
- Returns:
- true if remote user has permission over given entity, false otherwise
Copyright © 2002-2012 Atlassian. All Rights Reserved.