Package com.atlassian.jira.web.util
Class AccessKeyHelperImpl
java.lang.Object
com.atlassian.jira.web.util.AccessKeyHelperImpl
- All Implemented Interfaces:
AccessKeyHelper
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAccessKeySafe
(String accessKey) Screens the given access key against known browser shortcuts, so that the access key can be selectively omitted.
-
Constructor Details
-
AccessKeyHelperImpl
public AccessKeyHelperImpl()
-
-
Method Details
-
isAccessKeySafe
Description copied from interface:AccessKeyHelper
Screens the given access key against known browser shortcuts, so that the access key can be selectively omitted.- Specified by:
isAccessKeySafe
in interfaceAccessKeyHelper
- Parameters:
accessKey
- the access key to screen- Returns:
- true if the access key does not clash with any browser shortcut we know about; false otherwise
-