Projet

Général

Profil

« Précédent | Suivant » 

Révision bf9c3717

Ajouté par Remy Menard il y a environ 11 ans

Version 1.99

  • All:
    - a few bugs fixed!
  • New web application LaMBDa
  • ETa:
    - new testing application to capture events
  • SigMa-Test:
    - new options to the command line to configure the public/private keys
    for TLS and for signature
  • ALfA, OMeGa:
    - new method more accurate than "traceEPC": the events are sorted by
    EPCIS
  • OmICroN:
    - New options added to the command line
  • YPSilon, EpcisPHI:
    - user can be identified by alias, if the DN of his certificate is
    incompatible with the LDAP directory
  • YPSilon:
    - new shell script to configure the LDAP directory (same
    functionnalities as IoTa-Installer)
  • IoTa-Installer:
    - installs and configures LaMBDa
    - finer certificate mangagement
    - EpcILoN correctly subscribe with TLS to ETa
  • Greyc letters figures:
    - new figure for LaMBDa
    - shows data flows between PHI and YPSilon
    - sets DS and DSeTa in different schemas

Voir les différences:

ETa/ETa-Callback/ETa-Callback-Filter/src/main/java/fr/unicaen/iota/eta/callback/filter/CallbackCheck.java
*/
package fr.unicaen.iota.eta.callback.filter;
import fr.unicaen.iota.eta.callback.filter.utils.Constants;
import fr.unicaen.iota.xacml.XACMLConstantsEventType;
import fr.unicaen.iota.xacml.pep.ExtensionEvent;
import fr.unicaen.iota.xacml.pep.XACMLEPCISEvent;
......
*/
public boolean xacmlCheck(List<EPCISEventType> epcisEventList, String user) {
for (EPCISEventType epcisEvent : epcisEventList) {
String owner = "anonymous";
String owner = fr.unicaen.iota.eta.callback.filter.utils.Utils.getEventOwner(epcisEvent);
if (owner == null) {
owner = user;
}
if (epcisEvent instanceof ObjectEventType) {
if (!checkObjectEvent((ObjectEventType) epcisEvent, user, owner)) {
return false;
......
String extensionName = element.getLocalName();
String value = element.getTextContent();
if (fr.unicaen.iota.mu.Constants.URN_IOTA.equals(namespace) &&
(fr.unicaen.iota.mu.Constants.EXTENSION_OWNER_ID.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNATURE.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNER_ID.equals(extensionName))) {
continue;
}
// Gets the extension value
Object extensionValue = null;
try {
......
String extensionName = element.getLocalName();
String value = element.getTextContent();
if (fr.unicaen.iota.mu.Constants.URN_IOTA.equals(namespace) &&
(fr.unicaen.iota.mu.Constants.EXTENSION_OWNER_ID.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNATURE.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNER_ID.equals(extensionName))) {
continue;
}
// Gets the extension value
Object extensionValue = null;
try {
......
String extensionName = element.getLocalName();
String value = element.getTextContent();
if (fr.unicaen.iota.mu.Constants.URN_IOTA.equals(namespace) &&
(fr.unicaen.iota.mu.Constants.EXTENSION_OWNER_ID.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNATURE.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNER_ID.equals(extensionName))) {
continue;
}
// Gets the extension value
Object extensionValue = null;
try {
......
String extensionName = element.getLocalName();
String value = element.getTextContent();
if (fr.unicaen.iota.mu.Constants.URN_IOTA.equals(namespace) &&
(fr.unicaen.iota.mu.Constants.EXTENSION_OWNER_ID.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNATURE.equals(extensionName)
|| fr.unicaen.iota.mu.Constants.EXTENSION_SIGNER_ID.equals(extensionName))) {
continue;
}
// Gets the extension value
Object extensionValue = null;
try {

Formats disponibles : Unified diff