package org.apache.cxf.rt.security.saml.xacml;
import java.security.Principal;
import java.util.List;
import org.apache.cxf.message.Message;
import org.opensaml.xacml.ctx.RequestType;
<BUG>@Deprecated</BUG>
public interface XACMLRequestBuilder {
RequestType createRequest(Principal principal, List<String> roles, Message message) throws Exception;
@Deprecated
List<String> getResources(Message message);
@Deprecated
String getResource(Message message);
}

package org.apache.cxf.rt.security.saml.xacml;
import java.security.Principal;
import java.util.List;
import org.apache.cxf.message.Message;
import org.opensaml.xacml.ctx.RequestType;
public interface XACMLRequestBuilder {
RequestType createRequest(Principal principal, List<String> roles, Message message) throws Exception;
