use of org.wildfly.extension.picketlink.federation.model.FederationResourceDefinition in project wildfly by wildfly.
the class FederationExtension method registerTransformers_1_0.
private void registerTransformers_1_0(ExtensionContext context, SubsystemRegistration subsystemRegistration) {
ResourceTransformationDescriptionBuilder builder = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
ResourceTransformationDescriptionBuilder federationTransfDescBuilder = builder.addChildResource(new FederationResourceDefinition(context));
ResourceTransformationDescriptionBuilder keyStoreTransfDescBuilder = federationTransfDescBuilder.addChildResource(KeyStoreProviderResourceDefinition.INSTANCE);
keyStoreTransfDescBuilder.rejectChildResource(KeyResourceDefinition.INSTANCE.getPathElement());
TransformationDescription.Tools.register(builder.build(), subsystemRegistration, ModelVersion.create(1, 0));
}
Aggregations