|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.co.intra_mart.foundation.service.client.application.HTTPActionEventHandler jp.co.intra_mart.foundation.service.client.application.HTTPActionEventFilterHandler jp.co.intra_mart.foundation.service.client.application.GroupSecurityHTTPActionEventFilterHandler
ログイン認証を行って、ログインセッション環境でイベントを実行するためのフィルタ実装です。
このフィルタを利用する事により、任意のログイングループによる ログインセッション環境を作る事ができます。 このフィルタを利用する事により、 イベントプログラム中でログイングループを自動解決するAPIを 利用可能になります。
実在しないグループを指定した場合、
未来の予測できないエラーを回避するために、
フィルタ処理の途中で即座に例外がスローされてます。
結果として、イベント実行はエラー終了します。
フィルタがエラー終了した場合、セキュリティホールとならないために
セッションを破棄(javax.servlet.http.HttpSession#invalidate())します。
したがって、認証前にセッションに保存した情報にはアクセスできなくなります。
認証エラー後にセッション内の情報が必要な場合は、
事前に取得して別な場所へ保管するなどの対策が必要です。
フィールドの概要 | |
protected static String |
ID_SECURITY_GROUP
|
コンストラクタの概要 | |
GroupSecurityHTTPActionEventFilterHandler(HTTPActionEventHandler handler,
String groupId)
ログイングループセッション環境下で HTTPActionEvent を実行するためのフィルタハンドラを作成します。 |
メソッドの概要 | |
String |
getGroup()
設定されているグループIDを返します。 |
String |
getName()
フィルタイベント名を返します。 |
protected void |
setGroup(String groupId)
グループIDを設定します。 |
クラス jp.co.intra_mart.foundation.service.client.application.HTTPActionEventFilterHandler から継承したメソッド |
getEventRequestParameterMap, getFilterParameter, getFilterParameterMap, getParameter, getParameterKeySet, getParameterMap, getParent, hasParameter, removeFilterParameter, removeParameter, setFilterParameter, setParameter |
クラス jp.co.intra_mart.foundation.service.client.application.HTTPActionEventHandler から継承したメソッド |
execute, execute, execute, getCharacterEncoding, setCharacterEncoding, setHostnameVerifier, setSSLContext |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected static final String ID_SECURITY_GROUP
コンストラクタの詳細 |
public GroupSecurityHTTPActionEventFilterHandler(HTTPActionEventHandler handler, String groupId)
handler
- フィルタリングするハンドラgroupId
- グループID
NullPointerException
- 引数が null の場合メソッドの詳細 |
public String getName()
実際には、Application Runtime で実行される FilterHTTPActionEvent
を
実装したクラスのクラス名を返します。
HTTPActionEventFilterHandler
内の getName
protected void setGroup(String groupId)
groupId
- グループIDpublic String getGroup()
|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |