summaryrefslogtreecommitdiff
path: root/eaaf_modules/eaaf_module_pvp2_sp/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'eaaf_modules/eaaf_module_pvp2_sp/src/main')
-rw-r--r--eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/PvpAuthnRequestBuilder.java4
-rw-r--r--eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/utils/AssertionAttributeExtractor.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/PvpAuthnRequestBuilder.java b/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/PvpAuthnRequestBuilder.java
index c48a0fd4..bac90451 100644
--- a/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/PvpAuthnRequestBuilder.java
+++ b/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/PvpAuthnRequestBuilder.java
@@ -185,7 +185,7 @@ public class PvpAuthnRequestBuilder {
final AuthnContextClassRef authnClassRef =
Saml2Utils.createSamlObject(AuthnContextClassRef.class);
- authnClassRef.setAuthnContextClassRef(config.getAuthnContextClassRef());
+ authnClassRef.setURI(config.getAuthnContextClassRef());
if (config.getAuthnContextComparison() == null) {
reqAuthContext.setComparison(AuthnContextComparisonTypeEnumeration.MINIMUM);
@@ -244,7 +244,7 @@ public class PvpAuthnRequestBuilder {
if (StringUtils.isNotEmpty(config.getScopeRequesterId())) {
final Scoping scope = Saml2Utils.createSamlObject(Scoping.class);
final RequesterID requesterId = Saml2Utils.createSamlObject(RequesterID.class);
- requesterId.setRequesterID(config.getScopeRequesterId());
+ requesterId.setURI(config.getScopeRequesterId());
scope.getRequesterIDs().add(requesterId);
authReq.setScoping(scope);
diff --git a/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/utils/AssertionAttributeExtractor.java b/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/utils/AssertionAttributeExtractor.java
index d59012a5..f87096fb 100644
--- a/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/utils/AssertionAttributeExtractor.java
+++ b/eaaf_modules/eaaf_module_pvp2_sp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/sp/impl/utils/AssertionAttributeExtractor.java
@@ -265,8 +265,8 @@ public class AssertionAttributeExtractor {
&& authn.getAuthnContext().getAuthnContextClassRef() != null) {
final AuthnContextClassRef qaaClass = authn.getAuthnContext().getAuthnContextClassRef();
- if (StringUtils.isNotEmpty(qaaClass.getAuthnContextClassRef())) {
- return qaaClass.getAuthnContextClassRef();
+ if (StringUtils.isNotEmpty(qaaClass.getURI())) {
+ return qaaClass.getURI();
} else {
throw new AssertionAttributeExtractorExeption("AuthnContextClassRef (QAALevel)");
}