Correction to allow execution outside of Eclipse.
This commit is contained in:
parent
a20b32c413
commit
9c3bf05bb3
|
@ -143,7 +143,7 @@ public class SamlSecurityConfig {
|
||||||
public ExtendedMetadataDelegate oktaExtendedMetadataProvider() throws MetadataProviderException {
|
public ExtendedMetadataDelegate oktaExtendedMetadataProvider() throws MetadataProviderException {
|
||||||
File metadata = null;
|
File metadata = null;
|
||||||
try {
|
try {
|
||||||
metadata = new File("./src/main/resources/saml/metadata/sso.xml");
|
metadata = new ClassPathResource("saml/metadata/sso.xml").getFile();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue