ERXUnsafeRestAuthenticationDelegate Class Reference

Inherits er::rest::entityDelegates::IERXRestAuthenticationDelegate.

Collaboration diagram for ERXUnsafeRestAuthenticationDelegate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean authenticate (ERXRestContext context)


Detailed Description

ERXUnsafeRestAuthenticationDelegate should NEVER be used in production. This is an auth delegate implementation designed to allow you to explore the features of ERRest without having to actually write a custom delegate. This implementation just returns true if you are in development mode. It will always return false if ERXApplication.erxApplication().isDevelopmentMode() is false.

Author:
mschrag

Member Function Documentation

boolean authenticate ( ERXRestContext  context  ) 

Attempt to authenticate the user with the given context. The context provides access to things like the WOContext, which you can traverse to get the WORequest and access form variables if need be.

Parameters:
context the rest context
Returns:
whether or not authentication was successful

Implements IERXRestAuthenticationDelegate.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:28 2012 for Project Wonder by  doxygen 1.5.8