Class TrustedApplicationDelegateValidator
java.lang.Object
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationDelegateValidator
- All Implemented Interfaces:
TrustedApplicationValidator
- Direct Known Subclasses:
DefaultTrustedApplicationValidator
public class TrustedApplicationDelegateValidator
extends Object
implements TrustedApplicationValidator
Combines the semantic and syntactic validators.
- Since:
- v3.12
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(JiraServiceContext context, I18nHelper helper, SimpleTrustedApplication application) Runs the validate() method on all validators in order of registration, regardless of failure in earlier validators
-
Method Details
-
validate
public boolean validate(JiraServiceContext context, I18nHelper helper, SimpleTrustedApplication application) Runs the validate() method on all validators in order of registration, regardless of failure in earlier validators- 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
-