com.atlassian.jira.security.auth.trustedapps
Class TrustedApplicationSyntacticValidator
java.lang.Object
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationSyntacticValidator
- All Implemented Interfaces:
- TrustedApplicationValidator
public class TrustedApplicationSyntacticValidator
- extends java.lang.Object
- implements TrustedApplicationValidator
Responsible for syntactic validation of the entry of Trusted Application data.
- Since:
- v3.12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustedApplicationSyntacticValidator
public TrustedApplicationSyntacticValidator()
validate
public boolean validate(JiraServiceContext context,
I18nHelper helper,
java.lang.String urlString)
- Validate the details of the trusted application request.
- Parameters:
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 application
- Returns:
- true if passed, false otherwise
validate
public boolean validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
- Validate the details of the trusted application request.
- 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
- containing the details of a trustedApplication that is being edited
- Returns:
- true if passed, false otherwise
Copyright © 2002-2011 Atlassian. All Rights Reserved.