public class TrustedApplicationSyntacticValidator extends Object implements TrustedApplicationValidator
Constructor and Description |
---|
TrustedApplicationSyntacticValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
Validate the details of the trusted application request.
|
boolean |
validate(JiraServiceContext context,
I18nHelper helper,
String urlString)
Validate the details of the trusted application request.
|
public TrustedApplicationSyntacticValidator()
public boolean validate(JiraServiceContext context, I18nHelper helper, String urlString)
context
- the service context that contains the error collection and the user details, must not be nullhelper
- so we can i18n the messagesurlString
- the base urlString of the client applicationpublic boolean validate(JiraServiceContext context, I18nHelper helper, SimpleTrustedApplication application)
validate
in interface TrustedApplicationValidator
context
- the service context that contains the error collection and the user details, must not be nullhelper
- so we can i18n the messagesapplication
- containing the details of a trustedApplication that is being editedCopyright © 2002-2015 Atlassian. All Rights Reserved.