com.atlassian.jira.functest.config.crowd
Class PlaintextEncoderChecker
java.lang.Object
com.atlassian.jira.functest.config.crowd.PlaintextEncoderChecker
- All Implemented Interfaces:
- ConfigurationCheck
public class PlaintextEncoderChecker
- extends Object
- implements ConfigurationCheck
Check that we are using plaintext encoding and not something slow like 'atlassian-security' encoding
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHECK_PLAINTEXT_ENCODER
public static final String CHECK_PLAINTEXT_ENCODER
- See Also:
- Constant Field Values
PlaintextEncoderChecker
public PlaintextEncoderChecker()
checkConfiguration
public ConfigurationCheck.Result checkConfiguration(JiraConfig config,
CheckOptions options)
- Description copied from interface:
ConfigurationCheck
- Check the correctness of the passed JIRA XML. It must be possible to call this method multiple times with
different agruments (i.e. the object should be stateless).
- Specified by:
checkConfiguration
in interface ConfigurationCheck
- Parameters:
config
- the configuration to check.options
- the context for the check. This is where errors can be reported.
- Returns:
- the errors that were found in the passed configuration file.
fixConfiguration
public void fixConfiguration(JiraConfig config,
CheckOptions options)
- Description copied from interface:
ConfigurationCheck
- Fix the passed JIRA configuration and remove any errors.
- Specified by:
fixConfiguration
in interface ConfigurationCheck
- Parameters:
config
- the configuration to check.options
- the context for the check. This can be used to see what checks are currently enabled for the
passed configuration.
Copyright © 2002-2013 Atlassian. All Rights Reserved.