Class UserIdAttributeInSessionStore
java.lang.Object
nablarch.common.handler.threadcontext.UserIdAttribute
nablarch.common.web.handler.threadcontext.UserIdAttributeInSessionStore
- All Implemented Interfaces:
ThreadContextAttribute<Object>
セッションストアを使用してユーザIDの保持を行うクラス
- Author:
- Goro KUMANO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetUserIdSession(ExecutionContext ctx, String skey) セッションからユーザIDを取得する。 デフォルトではHTTPセッションからユーザIDを取得する。 必要に応じてオーバーライドすること。Methods inherited from class nablarch.common.handler.threadcontext.UserIdAttribute
getKey, getValue, setAnonymousId, setSessionKey
-
Constructor Details
-
UserIdAttributeInSessionStore
public UserIdAttributeInSessionStore()
-
-
Method Details
-
getUserIdSession
Description copied from class:UserIdAttributeセッションからユーザIDを取得する。 デフォルトではHTTPセッションからユーザIDを取得する。 必要に応じてオーバーライドすること。- Overrides:
getUserIdSessionin classUserIdAttribute- Parameters:
ctx- 実行コンテキストskey- ユーザIDのキー- Returns:
- ユーザID
-