org.exoplatform.services.security.cas.client.impl
Class BaseIdentityInitializerFilterImpl

java.lang.Object
  extended by org.exoplatform.services.security.cas.client.AbstractIdentityInitializerFilter
      extended by org.exoplatform.services.security.cas.client.impl.BaseIdentityInitializerFilterImpl
All Implemented Interfaces:
javax.servlet.Filter

public class BaseIdentityInitializerFilterImpl
extends AbstractIdentityInitializerFilter

Version:
$Id: $
Author:
Andrey Parfonov

Field Summary
 
Fields inherited from class org.exoplatform.services.security.cas.client.AbstractIdentityInitializerFilter
log
 
Constructor Summary
BaseIdentityInitializerFilterImpl()
           
 
Method Summary
protected  org.exoplatform.services.security.Identity createIdentity(String userId)
          Create identity for user.
protected  org.exoplatform.container.ExoContainer getContainer()
          
 
Methods inherited from class org.exoplatform.services.security.cas.client.AbstractIdentityInitializerFilter
destroy, doFilter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseIdentityInitializerFilterImpl

public BaseIdentityInitializerFilterImpl()
Method Detail

createIdentity

protected org.exoplatform.services.security.Identity createIdentity(String userId)
                                                             throws Exception
Create identity for user. Identity can be created locally or can be requested from authentication server, etc.

Specified by:
createIdentity in class AbstractIdentityInitializerFilter
Parameters:
userId - the userId.
Returns:
identity for specified user.
Throws:
Exception - if any error occurs.

getContainer

protected org.exoplatform.container.ExoContainer getContainer()

Specified by:
getContainer in class AbstractIdentityInitializerFilter
Returns:
the actual container.


Copyright © 2009 eXo Platform SAS. All Rights Reserved.