Skip to content

Commit e21b5ca

Browse files
committed
Merge pull request #228 from fogbow/develop
Adding catch to SAMIdentityPlugin initialization class.
2 parents 1d2251d + 2b75a95 commit e21b5ca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/org/fogbowcloud/manager/core/plugins/identity/saml/SAMLIdentityPlugin.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ public SAMLIdentityPlugin(Properties properties) {
9494
String metadataURLProp = properties.getProperty("identity_saml_metadata_url");
9595
this.samlMetadataURL = metadataURLProp == null ?
9696
DEFAULT_METADATA_URL : metadataURLProp;
97-
initSPDecrypter(properties);
97+
try {
98+
initSPDecrypter(properties);
99+
} catch (Throwable e) {
100+
LOGGER.error("Couldn't init SPDecripter", e);
101+
}
98102
}
99103

100104
private BasicX509Credential loadSPCredential(Properties properties) {

0 commit comments

Comments
 (0)