class XACMLPrivilegeUtils {

    public static Policy referralToPolicy(ReferralPrivilege privilege) throws JSONException {
        Policy policy = null;
        try {
            policy = referralToPolicyInternal(privilege);
        } catch (JAXBException je) {
            PrivilegeManager.debug.error(
                "JAXBException while mapping referral to policy:", je);
        }
        return policy;
    }

    private  XACMLPrivilegeUtils();

}