com.atlassian.jira.security.auth.trustedapps
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 nullhelper
- so we can i18n the messagesapplication
- the SimpleTrustedApplication containing the trusted application details.
- Returns:
- true if passed, false otherwise
Copyright © 2002-2012 Atlassian. All Rights Reserved.