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 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 interface TrustedApplicationValidator
      Parameters:
      context - the service context that contains the error collection and the user details, must not be null
      helper - so we can i18n the messages
      application - the SimpleTrustedApplication containing the trusted application details.
      Returns:
      true if passed, false otherwise