Revision 19b58bab
Added by Remy Menard over 11 years ago
IoTa-Installer/lib/eta.py | ||
---|---|---|
#
|
||
# This program is a part of the IoTa project.
|
||
#
|
||
# Copyright © 2012 Université de Caen Basse-Normandie, GREYC
|
||
#
|
||
# Copyright © 2012-2013 Université de Caen Basse-Normandie, GREYC
|
||
#
|
||
# This program is free software: you can redistribute it and/or modify
|
||
# it under the terms of the GNU General Public License as published by
|
||
# the Free Software Foundation, either version 3 of the License, or
|
||
... | ... | |
], [
|
||
("application",
|
||
{ "xacml-url": ("epcis_policies", "xacml_url"),
|
||
"pks-filename": ("cert", "jks_keystore"),
|
||
"pks-password": ("cert", "password"),
|
||
"trust-pks-filename": ("cert", "truststore"),
|
||
"trust-pks-password": ("cert", "trustpassword"),
|
||
"xacml-ihm-url": ("ephi", "url"),
|
||
"xacml-default-user": ("global", "anonymous_user"),
|
||
"xacml-use-tls-id": ("global", "use_tls_id"),
|
||
"xacml-default-user": ("global", "default_user"),
|
||
"xacml-anonymous-user": ("global", "anonymous_user"),
|
||
"epcis-query-url": ("epcis", "query_url"),
|
||
"epcis-capture-url": ("epcis", "capture_url"),
|
||
"eta-userservice-url": ("user", "url"),
|
||
... | ... | |
"ldap-user": ("ldap", "login"),
|
||
"ldap-password": ("ldap", "password"),
|
||
"sigma-url": ("sigma", "url"),
|
||
"sigma-verification": ("eta", "use_sigma"),})
|
||
"sigma-verification": ("eta", "use_sigma")})
|
||
] )
|
||
|
||
|
||
def postConfigure(self):
|
||
self.setURL()
|
||
self.setSecuredURL()
|
||
self.cset("db_jndi", "ETADB")
|
||
url = self.cget("url")
|
||
CONFIG.set("ds", "epcis_type", "ided_epcis")
|
Also available in: Unified diff
Version 1.9
- use TLS for secured links
- SigMa is now fully functionnal
- completed documention
- a lot of bugs fixed!
- signature creation from the canonical form of the event
- signature creation using ECDSA algorithm
- signature is correctly verified
- manage the extension identifying the owner of the event
- if no identity is provided, the identity of the certificate is used
- access to the web interface of policy management is made by
certificate
- if no identity is provided, the identity of the certificate is used
- create and use certificates for TLS
- configure Apache Tomcat for TLS
- show SigMa library (SigMa-Commons)