com.google.gwt.requestfactory.server
Interface RequestSecurityProvider

All Known Implementing Classes:
DefaultSecurityProvider

public interface RequestSecurityProvider

Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.

Enforces security policy for operations and classes, as well as permitting request obfuscation.


Method Summary
 void checkClass(java.lang.Class<?> clazz)
          Throws exception if argument is not accessible via remote requests.
 java.lang.String mapOperation(java.lang.String operationName)
          Optionally decodes a previously encoded operation.
 

Method Detail

checkClass

void checkClass(java.lang.Class<?> clazz)
                throws java.lang.SecurityException
Throws exception if argument is not accessible via remote requests.

Throws:
java.lang.SecurityException

mapOperation

java.lang.String mapOperation(java.lang.String operationName)
                              throws java.lang.SecurityException
Optionally decodes a previously encoded operation. Throws exception if argument is not a legal operation.

Throws:
java.lang.SecurityException