FMActionMapper.java revision 4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1c
4196N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 342N/A * Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved 342N/A * The contents of this file are subject to the terms 342N/A * of the Common Development and Distribution License 342N/A * (the License). You may not use this file except in 342N/A * compliance with the License. 342N/A * You can obtain a copy of the License at 342N/A * See the License for the specific language governing 342N/A * permission and limitations under the License. 342N/A * When distributing Covered Code, include this CDDL 342N/A * Header Notice in each file and include the License file 1472N/A * If applicable, add the following below the CDDL Header, 1472N/A * with the fields enclosed by brackets [] replaced by 342N/A * your own identifying information: 342N/A * "Portions Copyrighted [year] [name of copyright owner]" 1944N/A * This class implements ActionMapper to map between XACML context 1944N/A * action and FM native action. 1944N/A * This mapper would recognise only the following XACML 1944N/A * defined <code>attributeId</code> 342N/A * urn:oasis:names:tc:xacml:1.0:action:action-id 342N/A * This attribute would be mapped to an action name in OpenSSO Policy. 549N/A * This mapper requires that the dataType of the attribute is 342N/A * Initializes the mapper implementation. This would be called immediately 342N/A * after constructing an instance of the implementation. 342N/A * @param pdpEntityId EntityID of PDP 342N/A * @param pepEntityId EntityID of PEP 342N/A * @param properties configuration properties 342N/A * @exception XACMLException if can not initialize 342N/A * Returns native action name 342N/A * @param xacmlContextAction XACML context Action 342N/A * @param serviceName native service name the requested resource belongs to 342N/A * @return native action name 342N/A * @exception XACMLException if can not map to native action name 342N/A * Returns XACML context Action 342N/A * @param nativeActionName native action name 342N/A * @param serviceName native service name the requested resource belongs to 342N/A * @return XACML context Action 342N/A * @exception XACMLException if can not map to XACML context Action 342N/A * Returns XACML context decision effect 342N/A * @param nativeActionEffect native action effect 342N/A * @param serviceName native service name the requested resource belongs to 342N/A * @exception XACMLException if can not map to XACML context Action