Class StrutsActionMapHelper
java.lang.Object
com.atlassian.crowd.manager.bootstrap.StrutsActionMapHelper
- All Implemented Interfaces:
Serializable
Helper class to map Struts actions to their underlying
AccessTypes and allow
easy and performant retrieval of the AccessType for a given action.- Since:
- v6.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetActionParticulars(String namespace, String actionName) Returns theAccessTypeassociated with the given action, ornullif the action is not found.static StrutsActionMapHelpervoidinitMappings(com.opensymphony.xwork2.config.Configuration configuration, ClassLoader classLoader, String pluginKey) Initializes the action mappings from the given configuration.
-
Field Details
-
SYSTEM_PLUGINS_KEY
- See Also:
-
SYSTEM_KEY
- See Also:
-
-
Method Details
-
getInstance
-
initMappings
public void initMappings(com.opensymphony.xwork2.config.Configuration configuration, ClassLoader classLoader, String pluginKey) Initializes the action mappings from the given configuration. This action will need to be performed when actions are added or removed from the config - eg in the case of plugin installs/uninstalls. -
getActionParticulars
Returns theAccessTypeassociated with the given action, ornullif the action is not found.
-