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/src/main/java/fr/unicaen/iota/eta/query/QueryOperationsModule.java
throw new ImplementationExceptionResponse(msg, ie, e);
}
// XACML check
// TODO user
String owner = "anonymous";
if (queryCheck.checkSubscribe(user, owner)) {
if (queryCheck.checkSubscribe(user, user)) {
String callbackAddress;
try {
callbackAddress = Constants.CALLBACK_URL;
......
backend.storeSubscription(session, subscriptionID, dest, user);
LOG.debug("New subscription from user: " + user);
} else {
String msg = "Subscription not allowed for (" + user + ", " + owner + ")";
String msg = "Subscription not allowed for " + user;
LOG.warn("SubscribeNotPermittedException: " + msg);
SubscribeNotPermittedException e = new SubscribeNotPermittedException();
e.setReason(msg);
......
}
public boolean canBe(Principal principal, Identity identity) {
String user = identity.getAsString();
String partner = principal.getName();
return queryCheck.canBe(user, partner);
String user = principal.getName();
String canBeUser = identity.getAsString();
return queryCheck.canBe(user, canBeUser);
}
private void configureEPCISQueryClient() throws IOException, Exception {

Formats disponibles : Unified diff