C# 클래스 Castle.Applications.MindDump.Presentation.Filters.AuthenticationCheckFilter

Looks for a cookie "authenticationticket", decrypt it and obtains the login name. It then obtains the Author based on the login and associate the user with the context.
상속: IFilter
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
AuthenticationCheckFilter ( AccountService accountService, EncryptionService encryptionService ) : System
Perform ( ExecuteEnum exec, IRailsEngineContext context, Controller controller ) : bool

보호된 메소드들

메소드 설명
PerformAuthentication ( IRailsEngineContext context ) : bool

메소드 상세

AuthenticationCheckFilter() 공개 메소드

public AuthenticationCheckFilter ( AccountService accountService, EncryptionService encryptionService ) : System
accountService Castle.Applications.MindDump.Services.AccountService
encryptionService Castle.Applications.MindDump.Services.EncryptionService
리턴 System

Perform() 공개 메소드

public Perform ( ExecuteEnum exec, IRailsEngineContext context, Controller controller ) : bool
exec ExecuteEnum
context IRailsEngineContext
controller Castle.MonoRail.Framework.Controller
리턴 bool

PerformAuthentication() 보호된 메소드

protected PerformAuthentication ( IRailsEngineContext context ) : bool
context IRailsEngineContext
리턴 bool