aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-module-eIDAS/src/main/java/at
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-02-23 08:13:35 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-02-23 08:13:35 +0100
commit322d191c02df1c1d4bdabe141e9cdc61acc9f015 (patch)
tree4398de86811db744d7d26d3beb2ca45f88fee12e /id/server/modules/moa-id-module-eIDAS/src/main/java/at
parent44184c19d53146dcd84e2ddd704ff78aa539d511 (diff)
downloadmoa-id-spss-322d191c02df1c1d4bdabe141e9cdc61acc9f015.tar.gz
moa-id-spss-322d191c02df1c1d4bdabe141e9cdc61acc9f015.tar.bz2
moa-id-spss-322d191c02df1c1d4bdabe141e9cdc61acc9f015.zip
add some javadoc information
Diffstat (limited to 'id/server/modules/moa-id-module-eIDAS/src/main/java/at')
-rw-r--r--id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/eIDASAttributeBuilder.java17
1 files changed, 12 insertions, 5 deletions
diff --git a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/eIDASAttributeBuilder.java b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/eIDASAttributeBuilder.java
index 1f34a912d..22b94178e 100644
--- a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/eIDASAttributeBuilder.java
+++ b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/eIDASAttributeBuilder.java
@@ -81,16 +81,23 @@ public class eIDASAttributeBuilder extends PVPAttributeBuilder {
}
+ /**
+ * Get all eIDAS attribute names that can be generated by the Austrian eIDAS node.
+ * This list is dynamically generated from loaded eIDAS attribute builders that are found in Java Classpath
+ *
+ * @return {@link List} of {@link String} of eIDAS attribute names
+ */
public static List<String> getAllProvideableeIDASAttributes() {
return listOfSupportedeIDASAttributes;
}
/**
- *
- * @param attr
- * @param onlineApplicationConfiguration
- * @param authData
- * @return
+ * This method build an eIDAS response attribute, by using a loaded eIDAS attribute builder.
+ *
+ * @param attr eIDAS attribute that should be generated
+ * @param onlineApplicationConfiguration SP configuration
+ * @param authData Authentication data that contains user information for attribute generation
+ * @return eIDAS attribute response {@link Pair} or null if the attribute generation FAILES
*/
public static Pair<AttributeDefinition<?>,ImmutableSet<AttributeValue<?>>> buildAttribute(AttributeDefinition<?> attr, IOAAuthParameters onlineApplicationConfiguration,
IAuthData authData) {