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

java.lang.Object
  extended by com.atlassian.jira.security.auth.trustedapps.TrustedApplicationSemanticValidator
All Implemented Interfaces:
TrustedApplicationValidator

public class TrustedApplicationSemanticValidator
extends Object
implements TrustedApplicationValidator

Business and system level validations.

Since:
v3.12

Constructor Summary
TrustedApplicationSemanticValidator(TrustedApplicationManager manager)
           
 
Method Summary
 boolean validate(JiraServiceContext context, I18nHelper helper, SimpleTrustedApplication application)
          Validate the details of the trusted application .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustedApplicationSemanticValidator

public TrustedApplicationSemanticValidator(TrustedApplicationManager manager)
Method Detail

validate

public boolean validate(JiraServiceContext context,
                        I18nHelper helper,
                        SimpleTrustedApplication application)
Description copied from interface: TrustedApplicationValidator
Validate the details of the trusted application .

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-2010 Atlassian. All Rights Reserved.