/** * Copyright 2006 by Know-Center, Graz, Austria * PDF-AS has been contracted by the E-Government Innovation Center EGIZ, a * joint initiative of the Federal Chancellery Austria and Graz University of * Technology. * * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by * the European Commission - subsequent versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of the Licence at: * http://www.osor.eu/eupl/ * * Unless required by applicable law or agreed to in writing, software * distributed under the Licence is distributed on an "AS IS" basis, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the Licence for the specific language governing permissions and * limitations under the Licence. * * This product combines work with different licenses. See the "NOTICE" text * file for details on the various modules and licenses. * The "NOTICE" text file is part of the distribution. Any derivative works * that you distribute must include a readable copy of the "NOTICE" text file. * * $Id: SessionAttributes.java,v 1.2 2006/08/25 17:06:11 wprinz Exp $ */ package at.gv.egiz.pdfas.web.session; /** * Helper class that provides constants for the session attributes. * * @author wprinz */ public abstract class SessionAttributes { /** * The user name. */ public static final String ATTRIBUTE_USER_NAME = "uname"; /** * The user password. */ public static final String ATTRIBUTE_USER_PASSWORD = "upass"; /** * The attribute name under which the SessionInformation object is stored. * *

* The SessionInformation class contains type safe references to the objects. *

*/ public static final String ATTRIBUTE_SESSION_INFORMATION = "session_information"; /** * The signed pdf document. */ public static final String SIGNED_PDF_DOCUMENT = "at.gv.egiz.pdfas.web.SignSessionInformation:signedPDF"; /** * The download URL for the signed pdf document. */ public static final String DOWNLOAD_URL_FOR_SIGNED_PDF_DOCUMENT = "java.lang.String:downloadURL"; /** * The notification url of an external webapplication. */ public static final String PARENT_WEBAPP_REDIRECT_URL = "java.lang.String:parentWebAppRedirectURL"; /** * Added by rpiazzi. Language is written into session because it can not be changed during signature * process and has to be available for the page to know which language to use * An attribute to know which language to use */ public static final String LANGUAGE = "java.lang.String:language"; }