Révision bf9c3717
Ajouté par Remy Menard il y a environ 11 ans
OMeGa/OMeGa/src/main/java/fr/unicaen/iota/application/rest/BaseRHO.java | ||
---|---|---|
if (authId == null && id == anonymous) {
|
||
return;
|
||
}
|
||
int chk = xiclient.canBe(authId.getName(), id.getAsString());
|
||
if (authId == null) {
|
||
throw new IoTaException("No authentication", IoTaFault.tau.getCode());
|
||
}
|
||
if (id == null || id.getAsString().isEmpty()) {
|
||
throw new IoTaException("No identity to use", IoTaFault.tau.getCode());
|
||
}
|
||
String tlsId = fr.unicaen.iota.mu.Utils.formatId(authId.getName());
|
||
String idToPass = fr.unicaen.iota.mu.Utils.formatId(id.getAsString());
|
||
int chk = xiclient.canBe(tlsId, idToPass);
|
||
if (!Utils.responseIsPermit(chk)) {
|
||
throw new IoTaException(authId.getName() + " isn't allowed to pass as " + id.getAsString(), IoTaFault.tau.getCode());
|
||
}
|
Formats disponibles : Unified diff
Version 1.99
- a few bugs fixed!
- new testing application to capture events
- new options to the command line to configure the public/private keys
for TLS and for signature
- new method more accurate than "traceEPC": the events are sorted by
EPCIS
- New options added to the command line
- user can be identified by alias, if the DN of his certificate is
incompatible with the LDAP directory
- new shell script to configure the LDAP directory (same
functionnalities as IoTa-Installer)
- installs and configures LaMBDa
- finer certificate mangagement
- EpcILoN correctly subscribe with TLS to ETa
- new figure for LaMBDa
- shows data flows between PHI and YPSilon
- sets DS and DSeTa in different schemas