public class SecuredModel extends AbstractModel
Secures a flow, state or transition. The user invoking this element must meet the required attributes otherwise access will be denied.
Warning: This model will only configure a security attribute in the definition. The flow execution must also be secured with a SecurityFlowExecutionListener.
SecurityFlowExecutionListener| Constructor and Description |
|---|
SecuredModel(java.lang.String attributes)
Create a security settings model
|
| Modifier and Type | Method and Description |
|---|---|
Model |
createCopy()
Create a deep copy of this model.
|
java.lang.String |
getAttributes() |
java.lang.String |
getMatch() |
boolean |
isMergeableWith(Model model)
Determine if the model is able to be merged into the current model
|
void |
merge(Model model)
Merge the model into the current model
|
void |
setAttributes(java.lang.String attributes) |
void |
setMatch(java.lang.String match) |
public SecuredModel(java.lang.String attributes)
attributes - the security attributespublic boolean isMergeableWith(Model model)
Modelmodel - the model to comparepublic void merge(Model model)
Modelmodel - the model to merge withpublic Model createCopy()
Modelpublic java.lang.String getAttributes()
public void setAttributes(java.lang.String attributes)
attributes - the attributes to setpublic java.lang.String getMatch()
public void setMatch(java.lang.String match)
match - the match to set