public class FascinatorWebSecurityExpressionRoot
extends org.springframework.security.web.access.expression.WebSecurityExpressionRoot
| Constructor and Description |
|---|
FascinatorWebSecurityExpressionRoot(org.springframework.security.core.Authentication a,
org.springframework.security.web.FilterInvocation fi) |
FascinatorWebSecurityExpressionRoot(org.springframework.security.core.Authentication authentication,
org.springframework.security.web.FilterInvocation fi,
com.googlecode.fascinator.api.storage.Storage storage,
com.googlecode.fascinator.api.access.AccessControl accessControl) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasAPIAccess() |
boolean |
hasDownloadAccess() |
boolean |
hasDownloadAccess(String oidPattern) |
boolean |
hasViewAccess()
get view access of an object defined in request.
|
boolean |
hasViewAccess(String oidPattern) |
boolean |
hasWorkflowAccess()
Check editing access
|
boolean |
hasWorkflowAccess(String oidPattern)
Check editing access
|
boolean |
isGuestOwnerEditAllowed() |
boolean |
isInAllowedRoles() |
boolean |
isInAllowedRoles(String oid)
Check whether user has the correct role to edit
|
boolean |
isInAllowedUsers() |
boolean |
isInAllowedUsers(String oid) |
boolean |
isOwner() |
boolean |
isOwner(String oidPattern) |
boolean |
isOwnerEditAllowed() |
boolean |
isPublished() |
hasIpAddressdenyAll, getAuthentication, getPrincipal, hasAnyAuthority, hasAnyRole, hasAuthority, hasRole, isAnonymous, isAuthenticated, isFullyAuthenticated, isRememberMe, permitAll, setRoleHierarchy, setTrustResolverpublic FascinatorWebSecurityExpressionRoot(org.springframework.security.core.Authentication a,
org.springframework.security.web.FilterInvocation fi)
public FascinatorWebSecurityExpressionRoot(org.springframework.security.core.Authentication authentication,
org.springframework.security.web.FilterInvocation fi,
com.googlecode.fascinator.api.storage.Storage storage,
com.googlecode.fascinator.api.access.AccessControl accessControl)
public boolean hasDownloadAccess()
public boolean hasDownloadAccess(String oidPattern)
public boolean hasViewAccess()
public boolean hasViewAccess(String oidPattern)
public boolean isInAllowedUsers()
public boolean isInAllowedUsers(String oid)
public boolean isPublished()
public boolean isOwner()
public boolean isOwner(String oidPattern)
public boolean isInAllowedRoles()
public boolean isInAllowedRoles(String oid)
public boolean hasWorkflowAccess()
public boolean hasWorkflowAccess(String oidPattern)
public boolean isOwnerEditAllowed()
public boolean hasAPIAccess()
public boolean isGuestOwnerEditAllowed()
Copyright © 2009-2016. All Rights Reserved.