Example usage for org.springframework.web.util CookieGenerator CookieGenerator

List of usage examples for org.springframework.web.util CookieGenerator CookieGenerator

Introduction

In this page you can find the example usage for org.springframework.web.util CookieGenerator CookieGenerator.

Prototype

CookieGenerator

Source Link

Usage

From source file:org.jasig.cas.web.flow.AuthenticationViaFormActionTests.java

@Before
public void onSetUp() throws Exception {
    this.action = new AuthenticationViaFormAction();

    this.warnCookieGenerator = new CookieGenerator();
    this.warnCookieGenerator.setCookieName("WARN");
    this.warnCookieGenerator.setCookieName("TGT");
    this.warnCookieGenerator.setCookieDomain("/");
    this.warnCookieGenerator.setCookiePath("/");

    this.action.setCentralAuthenticationService(getCentralAuthenticationService());
    this.action.setWarnCookieGenerator(this.warnCookieGenerator);
    //       this.action.afterPropertiesSet();
}