public class DataSecurityCheck
extends org.wicketstuff.security.checks.AbstractSecurityCheck
DataPermission. For example
new DataSecurityCheck("something");
permission ${DataPermission} "something", "render";| Constructor and Description |
|---|
DataSecurityCheck(String securityId)
Creates a check that will verify if the current user has a DataPermission with the specified
name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSecurityId()
The id / name from the
DataPermission. |
boolean |
isActionAuthorized(org.wicketstuff.security.actions.WaspAction action) |
boolean |
isAuthenticated() |
public DataSecurityCheck(String securityId)
securityId - the name of the DataPermission in your policy filepublic boolean isActionAuthorized(org.wicketstuff.security.actions.WaspAction action)
ISecurityCheck.isActionAuthorized(org.wicketstuff.security.actions.WaspAction)public boolean isAuthenticated()
ISecurityCheck.isAuthenticated()public final String getSecurityId()
DataPermission.Copyright © 2006–2019 Apache Software Foundation. All rights reserved.