Class SecuredModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.SecuredModel
- All Implemented Interfaces:
Model
Model support for secured elements.
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.
- Author:
- Scott Andrews
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.getMatch()
boolean
isMergeableWith
(Model model) Determine if the model is able to be merged into the current modelvoid
Merge the model into the current modelvoid
setAttributes
(String attributes) void
-
Constructor Details
-
SecuredModel
Create a security settings model- Parameters:
attributes
- the security attributes
-
-
Method Details
-
isMergeableWith
Description copied from interface:Model
Determine if the model is able to be merged into the current model- Parameters:
model
- the model to compare- Returns:
- true if able to merge
-
merge
Description copied from interface:Model
Merge the model into the current model- Parameters:
model
- the model to merge with
-
createCopy
Description copied from interface:Model
Create a deep copy of this model. Needed when merging models and collections.- Returns:
- a deep copy of this model
-
getAttributes
- Returns:
- the attributes
-
setAttributes
- Parameters:
attributes
- the attributes to set
-
getMatch
- Returns:
- the match
-
setMatch
- Parameters:
match
- the match to set
-