001/**
002 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003 *
004 * Copyright (c) 2011 ForgeRock AS. All Rights Reserved
005 *
006 * The contents of this file are subject to the terms
007 * of the Common Development and Distribution License
008 * (the License). You may not use this file except in
009 * compliance with the License.
010 *
011 * You can obtain a copy of the License at
012 * http://forgerock.org/license/CDDLv1.0.html
013 * See the License for the specific language governing
014 * permission and limitations under the License.
015 *
016 * When distributing Covered Code, include this CDDL
017 * Header Notice in each file and include the License file
018 * at http://forgerock.org/license/CDDLv1.0.html
019 * If applicable, add the following below the CDDL Header,
020 * with the fields enclosed by brackets [] replaced by
021 * your own identifying information:
022 * "Portions Copyrighted [year] [name of copyright owner]"
023 *
024 */
025package org.forgerock.openam.authentication.service;
026
027/**
028 * Default implementation for {@link SessionPropertyUpgrader}
029 * This class basically just lets the session upgrade to copy every single
030 * property into the new session.
031 * 
032 * @author Peter Major
033 * @supported.all.api
034 */
035public final class DefaultSessionPropertyUpgrader extends SessionPropertyUpgrader {
036
037    @Override
038    public boolean shouldCopy(String key) {
039        return true;
040    }
041}




























































Copyright © 2010-2017, ForgeRock All Rights Reserved.