public interface SwarmModel<T>
extends org.wicketstuff.security.models.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(Component component)
Returns a string identifying this model for security purposes.
|
String getSecurityId(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 © 2006–2019 Apache Software Foundation. All rights reserved.