aboutsummaryrefslogtreecommitdiff
path: root/id/moa-id-webgui/src/main/resources/gui
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-07-10 15:28:25 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-07-10 15:28:25 +0200
commitd774a81910498c9ee1277c1611d57b07bf069fbd (patch)
treefe4e2d9ce1b1d4b3bd63c0802947d8fc1ed20124 /id/moa-id-webgui/src/main/resources/gui
parentff9703e221414e9840638911b53f441eb86afb72 (diff)
downloadmoa-id-spss-d774a81910498c9ee1277c1611d57b07bf069fbd.tar.gz
moa-id-spss-d774a81910498c9ee1277c1611d57b07bf069fbd.tar.bz2
moa-id-spss-d774a81910498c9ee1277c1611d57b07bf069fbd.zip
First parts of the new MOA-ID configuration module
Diffstat (limited to 'id/moa-id-webgui/src/main/resources/gui')
-rw-r--r--id/moa-id-webgui/src/main/resources/gui/meta.properties28
-rw-r--r--id/moa-id-webgui/src/main/resources/gui/types/general.json441
-rw-r--r--id/moa-id-webgui/src/main/resources/gui/types/oa.json148
3 files changed, 617 insertions, 0 deletions
diff --git a/id/moa-id-webgui/src/main/resources/gui/meta.properties b/id/moa-id-webgui/src/main/resources/gui/meta.properties
new file mode 100644
index 000000000..177dff6f1
--- /dev/null
+++ b/id/moa-id-webgui/src/main/resources/gui/meta.properties
@@ -0,0 +1,28 @@
+__BASE__.moaid.0=moa.id.general
+
+#__BASE__.all.1=moa.id.gateway
+
+moa.id.general.__TY=general
+moa.id.general.__CA=General Configuration
+moa.id.general.__DE=General MOA-ID Configuration
+
+#moa.id.oa.__GR=moa.id
+#moa.id.oa.__TY=ARRAY
+#moa.id.oa.__ADD=true
+#moa.id.oa.__DEL=true
+#moa.id.oa.__CA=List of online Applications
+#moa.id.oa.__DE=Long description of the list of online Applications...
+#moa.id.oa.__CTY=OA
+#moa.id.oa.__CCA=Name;Online Applications URL
+#moa.id.oa.__CIDS=name;url
+#moa.id.oa.__CDE=An online Application
+
+
+#moa.id.oa.__TE.name=Online Application Template
+#moa.id.oa.__TE.url=http://sampleonline.application.com/
+#moa.id.oa.__TE.attributes.0.name=Vorname
+#moa.id.oa.__TE.attributes.0.type=FIRSTNAME
+#moa.id.oa.__TE.attributes.0.required=true
+#moa.id.oa.__TE.__CA=A Template for an online Application
+#moa.id.oa.__TE.__DE=Long description of the list of online Applications...
+
diff --git a/id/moa-id-webgui/src/main/resources/gui/types/general.json b/id/moa-id-webgui/src/main/resources/gui/types/general.json
new file mode 100644
index 000000000..a4addb5f8
--- /dev/null
+++ b/id/moa-id-webgui/src/main/resources/gui/types/general.json
@@ -0,0 +1,441 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "id": "http://www.egiz.gv.at/dynUI/general",
+ "typeName": "general",
+ "type": "object",
+ "title": "General MOA-ID Configuration",
+ "format": "tabs",
+ "properties": {
+ "publicURLPrefix": {
+ "id": "http://www.egiz.gv.at/dynUI/general/publicurlprefix",
+ "type": "string",
+ "format": "url",
+ "title": "Public URL Prefix"
+ },
+ "defaults.bku": {
+ "id": "http://www.egiz.gv.at/dynUI/general/bkuurls",
+ "type": "object",
+ "title": "Default BKUs",
+ "description": "Default BKUs for authentication",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "onlineBKU" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/bkuurls/online",
+ "type": "string",
+ "title": "Online BKU"
+ },
+ "handyBKU" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/bkuurls/handy",
+ "type": "string",
+ "title": "Handy BKU"
+ },
+ "localBKU" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/bkuurls/local",
+ "type": "string",
+ "title": "Local BKU"
+ }
+ }
+ },
+ "defaults.templates": {
+ "id": "http://www.egiz.gv.at/dynUI/general/templates",
+ "type": "object",
+ "title": "Default SL-Templates",
+ "description": "Default SecurityLayer templates",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "onlineBKU" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/templates/online",
+ "type": "string",
+ "title": "Online BKU"
+ },
+ "handyBKU" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/templates/handy",
+ "type": "string",
+ "title": "Handy BKU"
+ },
+ "localBKU" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/templates/local",
+ "type": "string",
+ "title": "Local BKU"
+ }
+ }
+ },
+ "auth": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth",
+ "type": "object",
+ "title": "Authentication",
+ "description": "Authentication configuration",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "authblock.transformation": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/authblock/transform",
+ "type": "object",
+ "format": "file",
+ "title": "AuthBlock transformation",
+ "description": "XML Transformation for AuthBlock generation",
+ "properties": {
+ "data" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/authblock/transform/data",
+ "type": "string"
+ },
+ "preview" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/authblock/transform/preview",
+ "type": "string"
+ }
+ }
+ },
+ "timeouts": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/timeouts",
+ "type": "object",
+ "title": "Timeout Configuration",
+ "description": "Session and Process timeout configuration",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "sso.create" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/timeouts/ss/create",
+ "type": "integer",
+ "title": "SSO created"
+ },
+ "sso.update" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/timeouts/sso/update",
+ "type": "integer",
+ "title": "SSO updated"
+ },
+ "transaction" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/timeouts/transaction",
+ "type": "integer",
+ "title": "Transaction"
+ }
+ }
+ },
+ "moasp": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/moasp",
+ "type": "object",
+ "title": "MOA-SP",
+ "description": "IdentityLink and Authblock validation",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "trustprofile.idl.prod" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/moasp/trust/idl",
+ "type": "string",
+ "title": "TrustProfile IdentityLink"
+ },
+ "trustprofile.authblock.prod" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/moasp/trust/authblock",
+ "type": "string",
+ "title": "TrustProfile AuthBlock"
+ },
+ "authblock.transform" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/moasp/authblock/transform",
+ "type": "string",
+ "title": "AuthBlock Transformation"
+ }
+ }
+ },
+ "certificate": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/certificate",
+ "type": "object",
+ "title": "X509 validation",
+ "description": "Validation of X509 certificates",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "certstore.url" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/certificate/certstore",
+ "type": "string",
+ "title": "CertStore URL (relative to MOA-ID config directory)"
+ },
+ "truststore.url" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/certificate/truststore",
+ "type": "string",
+ "title": "TrustStore URL (relative to MOA-ID config directory)"
+ },
+ "revocationchecking" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/certificate/revocationchecking",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Activate X509 certificate revocation check"
+ }
+ }
+ },
+ "services": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/services",
+ "type": "object",
+ "title": "External services",
+ "description": "Configuration of externel services",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "ovs.url" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/services/ovs/url",
+ "type": "string",
+ "format": "url",
+ "title": "URL to online mandate service (OVS)"
+ },
+ "szrgw.url" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/services/szrgw/url",
+ "type": "string",
+ "format": "url",
+ "title": "URL to Stammzahlenregistergateway (SZR-GW)"
+ }
+ }
+ },
+ "sso": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/sso",
+ "type": "object",
+ "title": "SSO Configuration",
+ "description": "Single Sign-On authentication",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "servicename" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/sso/idpname",
+ "type": "string",
+ "title": "Service name"
+ },
+ "target" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/sso/target",
+ "type": "string",
+ "title": "Service Target"
+ },
+ "authblock.text" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/sso/authblocktext",
+ "type": "string",
+ "format": "textarea",
+ "title": "AuthBlock Text"
+ }
+ }
+ }
+ }
+ },
+ "protocols": {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols",
+ "type": "object",
+ "title": "Protocols",
+ "description": "Authentication protocol configuration",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "saml1": {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/saml1",
+ "type": "object",
+ "title": "SAML1 Configuration",
+ "description": "SAML1 authentication protocol",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "enabled" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/saml1/enabled",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Enabled"
+ },
+ "legacy" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/saml1/legacy",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Legacy mode enabled"
+ },
+ "sourceID" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/saml1/sourceid",
+ "type": "string",
+ "title": "SourceID"
+ }
+ }
+ },
+ "pvp2x": {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x",
+ "type": "object",
+ "title": "PVP Configuration",
+ "description": "PVP 2.x authentication protocol",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "enabled" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/enabled",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Enabled"
+ },
+ "legacy" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2/legacyx",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Legacy mode enabled"
+ },
+ "metadata" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata",
+ "type": "object",
+ "title": "Metadata",
+ "description": "PVP 2.x Metadata configuration",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "servicename" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/servicename",
+ "type": "string",
+ "title": "Service Name"
+ },
+ "org.name.short" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/org/name/short",
+ "type": "string",
+ "title": "Organisation - Short name"
+ },
+ "org.name.full" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/org/name/full",
+ "type": "string",
+ "title": "Organisation - Full name"
+ },
+ "org.url" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/org/url",
+ "type": "string",
+ "format": "url",
+ "title": "Organisation - URL"
+ },
+ "contact.givenname" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/contact/givenname",
+ "type": "string",
+ "title": "Contact - Givenname"
+ },
+ "contact.familyname" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/contact/familyname",
+ "type": "string",
+ "title": "Contact - Familyname"
+ },
+ "contact.company" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/contact/company",
+ "type": "string",
+ "title": "Contact - Company"
+ },
+ "contact.mail" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/contact/mail",
+ "type": "string",
+ "format": "email",
+ "title": "Contact - Mail"
+ },
+ "contact.phone" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/contact/phone",
+ "type": "string",
+ "format": "tel",
+ "title": "Contact - phone"
+ },
+ "contact.type" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/pvp2x/metadata/contact/type",
+ "type": "string",
+ "title": "Contact - Type",
+ "enum": [
+ "technical",
+ "support",
+ "administrative",
+ "billing",
+ "other"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "openID": {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/openid",
+ "type": "object",
+ "title": "OpenID Connect Configuration",
+ "description": "OpenID Connect authentication protocol",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "enabled" : {
+ "id": "http://www.egiz.gv.at/dynUI/general/protocols/openid/enabled",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Enabled"
+ }
+ }
+ }
+ }
+ },
+ "auth.stork": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/stork",
+ "type": "object",
+ "title": "STORK",
+ "description": "STORK cross boarder eID",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "qaa": {
+ "id": "http://www.egiz.gv.at/dynUI/general/auth/stork/qaa",
+ "type": "integer",
+ "title": "Minimal QAA level"
+ },
+ "cpeps" : {
+ "type": "array",
+ "title": "C-PEPS services",
+ "format": "table",
+ "options": {
+ "collapsed": true
+ },
+ "items": {
+ "type": "object",
+ "properties": {
+ "countrycode": {
+ "type": "string",
+ "title": "CountryCode"
+ },
+ "url": {
+ "type": "string",
+ "format": "url",
+ "title": "URL"
+ },
+ "support.xmldsig": {
+ "type": "boolean",
+ "format": "checkbox",
+ "title": "XMLDsig supported"
+ }
+ }
+ }
+ },
+ "attributes" : {
+ "type": "array",
+ "title": "STORK attributes",
+ "format": "table",
+ "options": {
+ "collapsed": true
+ },
+ "items": {
+ "type": "object",
+ "properties": {
+ "friendlyname": {
+ "type": "string",
+ "title": "Attribute name"
+ },
+ "mandatory": {
+ "type": "boolean",
+ "format": "checkbox",
+ "title": "Mandatory"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "required": ["publicURLPrefix"]
+}
diff --git a/id/moa-id-webgui/src/main/resources/gui/types/oa.json b/id/moa-id-webgui/src/main/resources/gui/types/oa.json
new file mode 100644
index 000000000..eee0e97aa
--- /dev/null
+++ b/id/moa-id-webgui/src/main/resources/gui/types/oa.json
@@ -0,0 +1,148 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "id": "http://www.egiz.gv.at/dynUI/OA",
+ "typeName": "oa",
+ "type": "object",
+ "title": "Online Application Configuration",
+ "format": "tabs",
+ "properties": {
+ "isActive" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/isactive",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "is Active"
+ },
+ "uniqueID": {
+ "id": "http://www.egiz.gv.at/dynUI/OA/uniqueId",
+ "type": "string",
+ "format": "url",
+ "title": "Unique Identifier (PublicURLPrefix)"
+ },
+ "friendlyName": {
+ "id": "http://www.egiz.gv.at/dynUI/OA/friendlyname",
+ "type": "string",
+ "title": "Friendlyname"
+ },
+ "businessservice" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/type",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Private Sector application"
+ },
+ "target": {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target",
+ "type": "object",
+ "title": "Target definition",
+ "description": "bPK or wbPK target definitions",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "public": {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/public",
+ "type": "object",
+ "title": "Public Sector definition",
+ "description": "bPK target definitions",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "target" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/public/target",
+ "type": "string",
+ "title": "Target",
+ "enum": [
+ "AR",
+ "AS",
+ "BF",
+ "BW",
+ "EA",
+ "EF",
+ "GH",
+ "GS",
+ "JR",
+ "KL",
+ "KU",
+ "LF",
+ "LV",
+ "RT",
+ "SA",
+ "SF",
+ "SO",
+ "SV",
+ "UW",
+ "VT",
+ "VV",
+ "WT",
+ "ZP",
+ "BR",
+ "HR",
+ "KI",
+ "OI",
+ "PV",
+ "RD",
+ "VS",
+ "ZU"
+ ]
+ },
+ "use.sub" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/public/usesubtarget",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Use sub-target"
+ },
+ "target.sub" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/public/subtarget",
+ "type": "string",
+ "title": "Sub-Target"
+ },
+ "use.own" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/public/useowntarget",
+ "type": "boolean",
+ "format" : "checkbox",
+ "title": "Use own-target"
+ },
+ "own.target" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/public/owntarget",
+ "type": "string",
+ "title": "Own target"
+ },
+ "own.name" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/public/owntarget/friendlyname",
+ "type": "string",
+ "title": "Own target - friendlyname"
+ }
+ }
+ },
+ "private": {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/private",
+ "type": "object",
+ "title": "Private Sector definition",
+ "description": "wbPK target definitions",
+ "options": {
+ "collapsed": true
+ },
+ "properties": {
+ "type" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/private/type",
+ "type": "string",
+ "title": "Sector Type",
+ "enum": [
+ "FN",
+ "ZVR",
+ "ERSB",
+ "STORK"
+ ]
+ },
+ "value" : {
+ "id": "http://www.egiz.gv.at/dynUI/OA/target/private/value",
+ "type": "string",
+ "title": "Identifier"
+ },
+ }
+ }
+ }
+ }
+ },
+ "required": ["uniqueID", "friendlyName"]
+}