logout.jsp revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
8b666e1fb772b6fe45de3604b224f3e1f2cfd620rbb DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
976501adbc040220270f7d1d77c4b8373033be69wrowe Copyright (c) 2009 Sun Microsystems Inc. All Rights Reserved
976501adbc040220270f7d1d77c4b8373033be69wrowe The contents of this file are subject to the terms
976501adbc040220270f7d1d77c4b8373033be69wrowe of the Common Development and Distribution License
976501adbc040220270f7d1d77c4b8373033be69wrowe (the License). You may not use this file except in
10a00688adcf1df367b1243810beedaabe6b1abeminfrin compliance with the License.
10a00688adcf1df367b1243810beedaabe6b1abeminfrin You can obtain a copy of the License at
8a3a703eae0e35f674b189181609545c6fc77a09rbb See the License for the specific language governing
8a3a703eae0e35f674b189181609545c6fc77a09rbb permission and limitations under the License.
9af1ccb223d0669b3c3a43eed070d815afde9084mjc When distributing Covered Code, include this CDDL
9af1ccb223d0669b3c3a43eed070d815afde9084mjc Header Notice in each file and include the License file
9d41fafe32b324c197f25224207fc6ce34f085bfrbb If applicable, add the following below the CDDL Header,
9d41fafe32b324c197f25224207fc6ce34f085bfrbb with the fields enclosed by brackets [] replaced by
9d41fafe32b324c197f25224207fc6ce34f085bfrbb your own identifying information:
9d41fafe32b324c197f25224207fc6ce34f085bfrbb "Portions Copyrighted [year] [name of copyright owner]"
889d9c84f8b1ad850f977a6d8e548696994f8f86jerenkrantz $Id: logout.jsp,v 1.2 2009/06/17 03:07:37 exu Exp $
8c83461e53ca7d204e1d634f0c78199d60320d7bjerenkrantz--%><%@ page language="java"
8c83461e53ca7d204e1d634f0c78199d60320d7bjerenkrantz import="com.sun.identity.saml2.common.SAML2Utils,
8e5842bc05146bb5c171e53b00b24063d17c666cjerenkrantz * If header SLOStatus doesn't exist, it's IDP initiated SLO. Log user out.
cdb15137887e284797e9510029098dc725b4dacfjerenkrantz * Besides "Cookie" header, other SLO related headers are: "IDP", "SP",
cdb15137887e284797e9510029098dc725b4dacfjerenkrantz * "NameIDValue", "SessionIndex", "Binding".
798c7c11dc2fe3b08e591e9c76fc1a84857f2cd4jerenkrantz * If header SLOStatus exist, it's fedlet initiated SLO. Do processing
798c7c11dc2fe3b08e591e9c76fc1a84857f2cd4jerenkrantz * according to the SLOStatus. Besides "Cookie" header, other SLO
798c7c11dc2fe3b08e591e9c76fc1a84857f2cd4jerenkrantz * related headers are: "IDP", "SP", "NameIDValue", "SessionIndex",
798c7c11dc2fe3b08e591e9c76fc1a84857f2cd4jerenkrantz * "Binding", "SLOStatus".
0aa8e8fd5a242948518655f2296b3c76386754e5jerenkrantz Enumeration headers = request.getHeaderNames();
0aa8e8fd5a242948518655f2296b3c76386754e5jerenkrantz String name = (String) headers.nextElement();
de3abad1fe263e577bb11e99b358836bd901397crbb "header name=" + name + " value=" + request.getHeader(name));