mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Refactoring webscript authentication to deal with redirecting etc. when no valid authentication for the script is available
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -235,10 +235,11 @@ public class UIWebScript extends SelfRenderingComponent
|
||||
* @see org.alfresco.web.scripts.WebScriptRuntime#authenticate(org.alfresco.web.scripts.WebScriptDescription.RequiredAuthentication, boolean)
|
||||
*/
|
||||
@Override
|
||||
protected void authenticate(RequiredAuthentication required, boolean isGuest)
|
||||
protected boolean authenticate(RequiredAuthentication required, boolean isGuest)
|
||||
{
|
||||
// JSF component already in an authenticated environment as the
|
||||
// /faces servlet filter (or JSF portlet wrapper) is called first
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user