jp.maru.liquid.core.plugins.http.interceptor
クラス AuthorizeInterceptor

java.lang.Object
  上位を拡張 jp.maru.liquid.core.plugins.http.interceptor.AuthorizeInterceptor
すべての実装されたインタフェース:
Interceptor

public abstract class AuthorizeInterceptor
extends java.lang.Object
implements Interceptor

認証処理を行うインターセプター

バージョン:
1.0
作成者:
Kohji Tsujita

コンストラクタの概要
AuthorizeInterceptor()
           
 
メソッドの概要
abstract  boolean authorize(HttpSession session, Cookie[] cookies)
          セッション、クッキーで認証を行う
 java.lang.String intercept(ActionInvocation invocation)
          インターセプトする
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AuthorizeInterceptor

public AuthorizeInterceptor()
メソッドの詳細

intercept

public java.lang.String intercept(ActionInvocation invocation)
インタフェース Interceptor の記述:
インターセプトする

定義:
インタフェース Interceptor 内の intercept
パラメータ:
invocation - ActionInvocation
戻り値:
リターンコード

authorize

public abstract boolean authorize(HttpSession session,
                                  Cookie[] cookies)
セッション、クッキーで認証を行う

パラメータ:
session - セッション
cookies - クッキー
戻り値:
認証成功すればtrueを返す