public interface SwarmModel<T> extends ISecureModel<T>
ISecureModel used to check DataPermissions. Note that although the
current implementation is required to work with ISecureModels, it is recommended to
implement SwarmModel instead as it allows you more control to specify a name for the permission.
If you do use a regular ISecureModel we fall back to the toString method.| Modifier and Type | Method and Description |
|---|---|
String |
getSecurityId(org.apache.wicket.Component component)
Returns a string identifying this model for security purposes.
|
isAuthenticated, isAuthorizedString getSecurityId(org.apache.wicket.Component component)
DataPermission by
AbstractSwarmStrategy.isModelAuthorized(ISecureModel, Component, org.wicketstuff.security.actions.WaspAction)
And is therefore required to remain consistent or each invocation provided the same component
is used.component - the component requesting the idCopyright © 2015. All rights reserved.