mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4855 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -159,7 +159,7 @@ public class AlfrescoFacesPortlet extends MyFacesGenericPortlet
|
|||||||
{
|
{
|
||||||
WebApplicationContext ctx = (WebApplicationContext)getPortletContext().getAttribute(
|
WebApplicationContext ctx = (WebApplicationContext)getPortletContext().getAttribute(
|
||||||
WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
|
WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
|
||||||
AuthenticationService auth = (AuthenticationService)ctx.getBean("authenticationService");
|
AuthenticationService auth = (AuthenticationService)ctx.getBean("AuthenticationService");
|
||||||
auth.validate(user.getTicket());
|
auth.validate(user.getTicket());
|
||||||
|
|
||||||
// save last username into portlet preferences, get from LoginBean state
|
// save last username into portlet preferences, get from LoginBean state
|
||||||
|
Reference in New Issue
Block a user