|
|||||||||
| 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 UserModule |
userModule
User. |
protected UserProfileModule |
userProfileModule
UserProfile |
| Constructor Summary | |
|---|---|
UserInterceptor()
|
|
| Method Summary | |
|---|---|
UserModule |
getUserModule()
|
UserProfileModule |
getUserProfileModule()
|
protected void |
invoke(ServerInvocation invocation)
|
boolean |
isCacheUser()
|
void |
setCacheUser(boolean cacheUser)
|
void |
setUserModule(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 UserModule userModule
protected UserProfileModule userProfileModule
protected boolean cacheUser
| Constructor Detail |
|---|
public UserInterceptor()
| Method Detail |
|---|
public UserModule getUserModule()
public UserProfileModule getUserProfileModule()
public void setUserModule(UserModule userModule)
protected void invoke(ServerInvocation invocation)
throws java.lang.Exception,
InvocationException
invoke in class ServerInterceptorjava.lang.Exception
InvocationExceptionpublic boolean isCacheUser()
public void setCacheUser(boolean cacheUser)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||