use of org.demoiselle.signer.policy.engine.factory.PolicyFactory.Policies in project signer by demoiselle.
the class PolicyFactoryTest method testLoadPolicy.
// @Test
public void testLoadPolicy() {
PolicyFactory factory = PolicyFactory.getInstance();
Policies[] policies = PolicyFactory.Policies.values();
for (Policies policy : policies) {
// TODO - falta implentar policy para XADES
if (policy.toString().contains("CADES") || policy.toString().contains("PADES")) {
logger.info(factory.loadPolicy(policy).toString());
}
}
}
Aggregations