com.atlassian.jira.security.auth.trustedapps
Interface TrustedApplicationValidator

All Known Implementing Classes:
DefaultTrustedApplicationValidator, TrustedApplicationDelegateValidator, TrustedApplicationSemanticValidator, TrustedApplicationSyntacticValidator

public interface TrustedApplicationValidator

Reponsible for doing validations of SimpleTrustedApplication data.

Since:
v3.12

Method Summary
 boolean validate(JiraServiceContext context, I18nHelper helper, SimpleTrustedApplication application)
          Validate the details of the trusted application .
 

Method Detail

validate

boolean validate(JiraServiceContext context,
                 I18nHelper helper,
                 SimpleTrustedApplication application)
Validate the details of the trusted application .

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.