8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/**
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * The contents of this file are subject to the terms
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * of the Common Development and Distribution License
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * (the License). You may not use this file except in
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You can obtain a copy of the License at
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * https://opensso.dev.java.net/public/CDDLv1.0.html or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * opensso/legal/CDDLv1.0.txt
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * See the License for the specific language governing
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * permission and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * When distributing Covered Code, include this CDDL
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Header Notice in each file and include the License file
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * at opensso/legal/CDDLv1.0.txt.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * If applicable, add the following below the CDDL Header,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * with the fields enclosed by brackets [] replaced by
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * your own identifying information:
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * "Portions Copyrighted [year] [name of copyright owner]"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * $Id: IDPDiscoveryConstants.java,v 1.5 2009/11/03 00:50:34 madan_ranganath Exp $
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
46b65b93439b7e12e0f609fbd6dfe80d4342617bSam Fraser
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterpackage com.sun.identity.saml2.idpdiscovery;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/**
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * This interface represents a collection of common constants used by
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * the classes in saml2 idp discovery Service. Classes implementing this
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * interface can use these constants.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterpublic interface IDPDiscoveryConstants {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final char QUESTION_MARK = '?';
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final char AMPERSAND = '&';
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final char EQUAL_TO = '=';
5d10f01c87ac9763dbced4c620a5c7df623a99fcJon Jonthomas public static final String LRURL = "RelayState";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String PREFERRED_COOKIE_SEPERATOR = " ";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String SESSION_COOKIE = "SESSION";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String PERSISTENT_COOKIE = "PERSISTENT";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final int PERSISTENT_COOKIE_AGE = 31536000; // 365 days
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final int SESSION_COOKIE_AGE = -1;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String IDPDISCOVERY_COOKIE_TYPE =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.sun.identity.saml2.idpdiscovery.cookietype";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String IDPDISCOVERY_URL_SCHEME =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.sun.identity.saml2.idpdiscovery.urlscheme";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String IDPDISCOVERY_COOKIE_DOMAIN =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.sun.identity.saml2.idpdiscovery.cookiedomain";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String HTTPS = "https";
4aa5badd5f4858577979ba105aa80ff34e84feccCraig McDonnell public static final String DEBUG_LEVEL =
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell "com.iplanet.services.debug.level";
5d10f01c87ac9763dbced4c620a5c7df623a99fcJon Jonthomas public static final String DEBUG_DIR =
5d10f01c87ac9763dbced4c620a5c7df623a99fcJon Jonthomas "com.iplanet.services.debug.directory";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String NO_DIR =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.sun.identity.services.debug.nodir";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String AM_COOKIE_SECURE =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.iplanet.am.cookie.secure";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String AM_COOKIE_ENCODE =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.iplanet.am.cookie.encode";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String AM_COOKIE_HTTPONLY =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.sun.identity.cookie.httponly";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String SAML2_WRITER_URI = "/saml2writer";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String IDFF_WRITER_URI = "/idffwriter";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String SAML2_READER_URI = "/saml2reader";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String IDFF_READER_URI = "/idffreader";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String SAML2_COOKIE_NAME = "_saml_idp";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public static final String IDFF_COOKIE_NAME = "_liberty_idp";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public String ERROR_URL_PARAM_NAME =
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster "com.sun.identity.saml2.idpdiscovery.errorurl";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster}
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster