com.atlassian.security.auth.trustedapps
Interface RequestValidator

All Known Implementing Classes:
DefaultRequestValidator

public interface RequestValidator

Validate whether a request is allowed or not. Throws an InvalidRequestException if not.


Method Summary
 void validate(javax.servlet.http.HttpServletRequest request)
          Check if this URL is allowed to be accessed by trusted calls
 

Method Detail

validate

public void validate(javax.servlet.http.HttpServletRequest request)
              throws InvalidRequestException
Check if this URL is allowed to be accessed by trusted calls

Throws:
InvalidRequestException - if the requested url does not match the allowed ones.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.