Skip to content

Commit

Permalink
SHIBUI-2327
Browse files Browse the repository at this point in the history
Adding missing libraries and needed marshalling configuration for using pac4j
  • Loading branch information
chasegawa committed Jul 27, 2022
1 parent 93a1231 commit 246d295
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 13 additions & 1 deletion backend/src/main/resources/modified-saml2-assertion-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,19 @@
<MarshallingClass className="org.opensaml.saml.saml2.core.impl.NameIDTypeMarshaller"/>
<UnmarshallingClass className="org.opensaml.saml.saml2.core.impl.NameIDTypeUnmarshaller"/>
</ObjectProvider>


<ObjectProvider qualifiedName="saml2:Issuer">
<BuilderClass className="org.opensaml.saml.saml2.core.impl.IssuerBuilder"/>
<MarshallingClass className="org.opensaml.saml.saml2.core.impl.NameIDTypeMarshaller"/>
<UnmarshallingClass className="org.opensaml.saml.saml2.core.impl.NameIDTypeUnmarshaller"/>
</ObjectProvider>

<ObjectProvider qualifiedName="saml2:IssuerType">
<BuilderClass className="org.opensaml.saml.saml2.core.impl.IssuerBuilder"/>
<MarshallingClass className="org.opensaml.saml.saml2.core.impl.NameIDTypeMarshaller"/>
<UnmarshallingClass className="org.opensaml.saml.saml2.core.impl.NameIDTypeUnmarshaller"/>
</ObjectProvider>

<!-- OneTimeUse -->
<ObjectProvider qualifiedName="saml2:OneTimeUse">
<BuilderClass className="org.opensaml.saml.saml2.core.impl.OneTimeUseBuilder"/>
Expand Down
3 changes: 3 additions & 0 deletions pac4j-module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ dependencies {
exclude group: 'org.opensaml'
exclude group: 'commons-collections'
}
// But we do need this opensaml lib that wasn't provided
implementation "org.opensaml:opensaml-storage-impl:${project.'opensamlVersion'}"
compile "org.apache.commons:commons-collections4:${project.'commonsCollections4Version'}"


testCompile project(':backend')
testCompile "org.opensaml:opensaml-saml-api:${project.'opensamlVersion'}"

Expand Down

0 comments on commit 246d295

Please sign in to comment.