com.atlassian.jira.security.auth.trustedapps
Class TrustedApplicationDelegateValidator

java.lang.Object
  extended by 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
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.