Examples of UnknownIdentifierException


Examples of com.sun.xacml.UnknownIdentifierException

            return supportedV1Identifiers;
        } else if (xacmlVersion.equals(PolicyMetaData.XACML_2_0_IDENTIFIER)) {
            return supportedV2Identifiers;
        }

        throw new UnknownIdentifierException("Unknown XACML version: " + xacmlVersion);
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

        String id = algId.toString();

        if (algMap.containsKey(id)) {
            return (CombiningAlgorithm) (algMap.get(algId.toString()));
        } else {
            throw new UnknownIdentifierException("unknown combining algId: " + id);
        }
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

            throws UnknownIdentifierException {
        if ((xacmlVersion.equals(PolicyMetaData.XACML_1_0_IDENTIFIER))
                || (xacmlVersion.equals(PolicyMetaData.XACML_2_0_IDENTIFIER)))
            return supportedAlgIds;

        throw new UnknownIdentifierException("Unknown XACML version: " + xacmlVersion);
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

            throws UnknownIdentifierException {
        CombiningAlgFactoryProxy proxy = (CombiningAlgFactoryProxy) (registeredFactories
                .get(identifier));

        if (proxy == null)
            throw new UnknownIdentifierException("Uknown CombiningAlgFactory " + "identifier: "
                    + identifier);

        return proxy.getFactory();
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

    private static FunctionFactoryProxy getRegisteredProxy(String identifier)
            throws UnknownIdentifierException {
        FunctionFactoryProxy proxy = (FunctionFactoryProxy) (registeredFactories.get(identifier));

        if (proxy == null)
            throw new UnknownIdentifierException("Uknown FunctionFactory " + "identifier: "
                    + identifier);

        return proxy;
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

                // method should have been called
                throw new FunctionTypeException("function is abstract");
            }
        } else {
            // we couldn't find a match
            throw new UnknownIdentifierException("functions of type " + identity + " are not "
                    + "supported by this factory");
        }
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

                // the other create method should have been called
                throw new FunctionTypeException("function is concrete");
            }
        } else {
            // we couldn't find a match
            throw new UnknownIdentifierException("abstract functions of " + "type " + identity
                    + " are not supported by " + "this factory");
        }
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

    public static final AttributeFactory getInstance(String identifier)
            throws UnknownIdentifierException {
        AttributeFactoryProxy proxy = (AttributeFactoryProxy) (registeredFactories.get(identifier));

        if (proxy == null)
            throw new UnknownIdentifierException("Uknown AttributeFactory " + "identifier: "
                    + identifier);

        return proxy.getFactory();
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

            } catch (Exception e) {
                throw new ParsingException("couldn't create " + type
                        + " attribute based on DOM node");
            }
        } else {
            throw new UnknownIdentifierException("Attributes of type " + type
                    + " aren't supported.");
        }
    }
View Full Code Here

Examples of com.sun.xacml.UnknownIdentifierException

            } catch (Exception e) {
                throw new ParsingException("couldn't create " + type + " attribute from input: "
                        + value);
            }
        } else {
            throw new UnknownIdentifierException("Attributes of type " + type
                    + " aren't supported.");
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.