aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-07-08 14:01:57 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-07-08 14:01:57 +0200
commit8e0d3b1e777cf4bd4213e56f4c5130036932f462 (patch)
treef29b316b107b40cd4d0e694ff26e169812f00503 /id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java
parent9287a23dc52a83f31b7653bc1a44a8e86e357ce3 (diff)
downloadmoa-id-spss-8e0d3b1e777cf4bd4213e56f4c5130036932f462.tar.gz
moa-id-spss-8e0d3b1e777cf4bd4213e56f4c5130036932f462.tar.bz2
moa-id-spss-8e0d3b1e777cf4bd4213e56f4c5130036932f462.zip
Fixed PVP2 Attribute builder interface
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java
index ddc7f6671..740a99649 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/attributes/MandateProfRepOIDAttributeBuilder.java
@@ -5,6 +5,8 @@ import org.w3c.dom.Element;
import at.gv.egovernment.moa.id.auth.data.AuthenticationSession;
import at.gv.egovernment.moa.id.auth.validator.parep.ParepValidator;
+import at.gv.egovernment.moa.id.config.auth.OAAuthParameter;
+import at.gv.egovernment.moa.id.data.AuthenticationData;
import at.gv.egovernment.moa.id.protocols.pvp2x.exceptions.NoMandateDataAvailableException;
import at.gv.egovernment.moa.id.protocols.pvp2x.exceptions.PVP2Exception;
import at.gv.egovernment.moa.id.protocols.pvp2x.utils.AttributeExtractor;
@@ -15,7 +17,8 @@ public class MandateProfRepOIDAttributeBuilder extends BaseAttributeBuilder {
return MANDATE_PROF_REP_OID_NAME;
}
- public Attribute build(AuthenticationSession authSession) throws PVP2Exception {
+ public Attribute build(AuthenticationSession authSession,
+ OAAuthParameter oaParam, AuthenticationData authData) throws PVP2Exception {
if(authSession.getUseMandate()) {
Element mandate = authSession.getMandate();
if(mandate == null) {