this.decoree = decoree;
String errorPage = RequestUtil.URLDecode(decoree.getFormErrorPage());
if (!errorPage.startsWith("/")){
errorPage = "/" + errorPage;
}
setErrorPage(errorPage);
String loginPage = RequestUtil.URLDecode(decoree.getFormLoginPage());
if (!loginPage.startsWith("/")){
loginPage = "/" + loginPage;
}
setLoginPage(loginPage);
setAuthMethod(decoree.getAuthenticationMethod());
setRealmName(decoree.getRealmName());