Class TrustedApplicationSemanticValidator
java.lang.Object
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationSemanticValidator
- All Implemented Interfaces:
TrustedApplicationValidator
public class TrustedApplicationSemanticValidator
extends Object
implements TrustedApplicationValidator
Business and system level validations.
- Since:
- v3.12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(JiraServiceContext context, I18nHelper helper, SimpleTrustedApplication application) Validate the details of the trusted application .
-
Constructor Details
-
TrustedApplicationSemanticValidator
-
-
Method Details
-
validate
public boolean validate(JiraServiceContext context, I18nHelper helper, SimpleTrustedApplication application) Description copied from interface:TrustedApplicationValidator
Validate the details of the trusted application .- Specified by:
validate
in interfaceTrustedApplicationValidator
- Parameters:
context
- the service context that contains the error collection and the user details, must not be nullhelper
- so we can i18n the messagesapplication
- the SimpleTrustedApplication containing the trusted application details.- Returns:
- true if passed, false otherwise
-