Skip to content
Snippets Groups Projects
Commit 933f509c authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4383 BayernIdSamlConfiguration von PROPERTY_ANTRAGSRAUM_URL abhängig

gemacht
parent 1954bd47
No related branches found
No related tags found
No related merge requests found
...@@ -60,11 +60,12 @@ import org.opensaml.xmlsec.keyinfo.KeyInfoSupport; ...@@ -60,11 +60,12 @@ import org.opensaml.xmlsec.keyinfo.KeyInfoSupport;
import org.opensaml.xmlsec.signature.support.SignatureTrustEngine; import org.opensaml.xmlsec.signature.support.SignatureTrustEngine;
import org.opensaml.xmlsec.signature.support.impl.ExplicitKeySignatureTrustEngine; import org.opensaml.xmlsec.signature.support.impl.ExplicitKeySignatureTrustEngine;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.Resource; import org.springframework.core.io.Resource;
import org.springframework.security.converter.RsaKeyConverters; import org.springframework.security.converter.RsaKeyConverters;
import org.springframework.security.saml2.Saml2Exception; import org.springframework.security.saml2.Saml2Exception;
import org.springframework.security.saml2.core.Saml2X509Credential; import org.springframework.security.saml2.core.Saml2X509Credential;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import lombok.Getter; import lombok.Getter;
...@@ -74,7 +75,8 @@ import net.shibboleth.utilities.java.support.xml.BasicParserPool; ...@@ -74,7 +75,8 @@ import net.shibboleth.utilities.java.support.xml.BasicParserPool;
import net.shibboleth.utilities.java.support.xml.ParserPool; import net.shibboleth.utilities.java.support.xml.ParserPool;
import net.shibboleth.utilities.java.support.xml.XMLParserException; import net.shibboleth.utilities.java.support.xml.XMLParserException;
@Service @Configuration
@ConditionalOnProperty(AntragraumProperties.PROPERTY_ANTRAGSRAUM_URL)
public class BayernIdSamlConfiguration { public class BayernIdSamlConfiguration {
private XMLObjectProviderRegistry registry; private XMLObjectProviderRegistry registry;
@Getter @Getter
......
...@@ -4,4 +4,12 @@ ozgcloud: ...@@ -4,4 +4,12 @@ ozgcloud:
entityId: https://antragsraum.ozgcloud.de/ entityId: https://antragsraum.ozgcloud.de/
metadataUri: "classpath:/bayernid/metadata/bayernid-idp-infra.xml" metadataUri: "classpath:/bayernid/metadata/bayernid-idp-infra.xml"
decryptionPrivateKey: "classpath:/bayernid/bayernid-test-enc.key" decryptionPrivateKey: "classpath:/bayernid/bayernid-test-enc.key"
decryptionCertificate: "classpath:/bayernid/bayernid-test-enc.crt" decryptionCertificate: "classpath:/bayernid/bayernid-test-enc.crt"
\ No newline at end of file nachrichten-manager:
url: static://localhost:9091
grpc:
client:
info-manager:
address: static://localhost:9091
server:
port: 9092
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment