use of org.apache.xml.security.binding.xmldsig.ObjectFactory in project santuario-java by apache.
the class SecurityTokenFactoryImplTest method setUp.
@Before
public void setUp() throws Exception {
Init.init(null, this.getClass());
ObjectFactory of = new ObjectFactory();
JAXBElement<String> keyname = of.createKeyName("mykey");
keyInfoType = new KeyInfoType();
keyInfoType.setId("KeyName");
keyInfoType.getContent().add(keyname);
xmlSecurityProperties = new XMLSecurityProperties();
inboundSecurityContext = new InboundSecurityContextImpl();
}
Aggregations