AuthLevelHelper.java revision 8af80418ba1ec431c8027fa9668e5678658d3611
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: AuthLevelHelper.java,v 1.2 2008/06/25 05:43:00 qcheng Exp $
*
*/
/*
* Portions Copyrighted [2011] [ForgeRock AS]
*/
/**
* Helper class for authentication level (add and edit) view bean.
*/
public class AuthLevelHelper {
/**
* Name of search filter text field.
*/
/**
* Name of realm list box.
*/
/**
* Name of authentication level textbox.
*/
private AuthLevelHelper() {
}
/**
* Returns an instance of authentication level helper object.
*
* @return an instance of authentication level helper object.
*/
public static AuthLevelHelper getInstance() {
return instance;
}
/**
* Set the condition values to property sheet model.
*
* @param values Values which contains realm name and authentication level.
* @param propertySheetModel Property sheet model.
*/
public void setPropertiesValues(
) {
}
}
}
}
/**
* Returns condition values by concatentating realm and authentication
* level.
*
* @param model Policy Model.
* @param propertySheetModel Property Sheet Model for extract realm and
* authentication level values.
* @return condition values.
* @throws AMConsoleException if realm or authentication level is blank.
*/
public Map getConditionValues(
) throws AMConsoleException
{
"policy.condition.missing.auth.level"));
}
return map;
}
/**
* Returns a set of realm names
*
* @param filter Search filter.
* @param model Policy Model.
* @return a set of realm names
* @throws AMConsoleException if search operation failed.
*/
throws AMConsoleException
{
}
}