|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.server.ServerInterceptor
org.jboss.portal.core.aspects.server.UserInterceptor
public class UserInterceptor
The interceptor is responsible for managing the user identity lifecycle based on the principal name returned by the
HttpServletRequest.getUserPrincipal() method.
| Field Summary | |
|---|---|
protected boolean |
cacheUser
. |
static java.lang.String |
PROFILE_KEY
. |
static java.lang.String |
USER_KEY
. |
protected org.jboss.portal.identity.UserModule |
userModule
User. |
protected org.jboss.portal.identity.UserProfileModule |
userProfileModule
UserProfile |
| Constructor Summary | |
|---|---|
UserInterceptor()
|
|
| Method Summary | |
|---|---|
org.jboss.portal.identity.UserModule |
getUserModule()
|
org.jboss.portal.identity.UserProfileModule |
getUserProfileModule()
|
protected void |
invoke(ServerInvocation invocation)
|
boolean |
isCacheUser()
|
void |
setCacheUser(boolean cacheUser)
|
void |
setUserModule(org.jboss.portal.identity.UserModule userModule)
|
| Methods inherited from class org.jboss.portal.server.ServerInterceptor |
|---|
invoke |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROFILE_KEY
public static final java.lang.String USER_KEY
protected org.jboss.portal.identity.UserModule userModule
protected org.jboss.portal.identity.UserProfileModule userProfileModule
protected boolean cacheUser
| Constructor Detail |
|---|
public UserInterceptor()
| Method Detail |
|---|
public org.jboss.portal.identity.UserModule getUserModule()
public org.jboss.portal.identity.UserProfileModule getUserProfileModule()
public void setUserModule(org.jboss.portal.identity.UserModule userModule)
protected void invoke(ServerInvocation invocation)
throws java.lang.Exception,
org.jboss.portal.common.invocation.InvocationException
invoke in class ServerInterceptorjava.lang.Exception
org.jboss.portal.common.invocation.InvocationExceptionpublic boolean isCacheUser()
public void setCacheUser(boolean cacheUser)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||