|
intra-mart(R) 5.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.co.intra_mart.framework.base.service.ServiceSecurityFilter
intra-mart画面を表示するURLの詐称をチェックするためのフィルタです。 このフィルタは次の初期化パラメータを設定する必要があります。
パラメータ名 | 値 |
---|---|
error-page | セキュリティ違反時に遷移するページのパス。 コンテキストパスからの相対パスで指定する必要がある。 パスの先頭は"/"で指定する。 |
ServiceServlet
は拡張子によるマッピングが行われる必要があります。
フィールドの概要 | |
static String |
ID_SERVICE_SECURITY_FILTER
リクエストに登録するServiceServletFilterの属性名 |
static String |
PARAM_ERROR_PAGE
エラーページパスのパラメータ名 |
コンストラクタの概要 | |
ServiceSecurityFilter()
|
メソッドの概要 | |
void |
destroy()
フィルタを破棄します。 |
void |
doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
FilterChain filterChain)
sessionに登録された情報と、parameterの情報を比較します。 |
void |
init(FilterConfig filterConfig)
このフィルタを初期化します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final String ID_SERVICE_SECURITY_FILTER
public static final String PARAM_ERROR_PAGE
コンストラクタの詳細 |
public ServiceSecurityFilter()
メソッドの詳細 |
public void init(FilterConfig filterConfig) throws ServletException
Filter
内の init
filterConfig
- FilterConfig
ServletException
- フィルタ内で例外が発生public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws ServletException, IOException
Filter
内の doFilter
servletRequest
- リクエストservletResponse
- レスポンスfilterChain
- フィルタチェイン
IOException
- フィルタ処理実行時にIOExceptionが発生
ServletException
- フィルタ処理実行時にServletExceptionが発生public void destroy()
Filter
内の destroy
|
intra-mart(R) 5.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |