Default method when the failure is due to not being logged in.
Default method when the failure is due to not being logged in.
Requires no args, provides the generic message "You must be logged in to perform that action.".
Message specific method when the failure is due to not being logged in.
Message specific method when the failure is due to not being logged in. Ideally, the original url will be set as a cookie so that securesocial can redirect back to the user's original page.
Client should pass in their own message to be displayed. If the message is null or empty, it will default to the generic message "You must be logged in to perform that action.".
A String that will be the specific error message passed to the login panel
The originating window href for the failed authentication
Redirect request that comes in when a user is logged in but does not have the appropriate permissions for accessing a specific location.
Redirect request that comes in when a user is logged in but does not have the appropriate permissions for accessing a specific location.
Client may pass in their own message to be displayed. If the message is null or empty, it will default to the generic message "You do not have the permissions required to view that location."
A String that will be the specific error message passed to the view to display
Utility controller to be called, typically as a redirect, from the client side when an AJAX error is received, or when there are errors with authentication or permissions within the normal controller flow.