Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Bloc de code
var url = "contextRelative:Authn/External"; 
var rpCtx = input.getSubcontext("net.shibboleth.idp.profile.context.RelyingPartyContext"); 
if (rpCtx != null) { 
    var rpid = rpCtx.getRelyingPartyId(); 
    if (rpid === "https://pass.renater.fr" || rpid === "https://registry.federation.renater.fr" || rpid === "https://cert-manager.com/shibboleth") { 
       var logger = Java.type("org.slf4j.LoggerFactory").getLogger("net.shibboleth.idp.PRI"); 
       logger.warn("forcing ExternalOtp for {}", rpid); 
       url = "contextRelative:Authn/ExternalOtp" 
    } 
} 
url; 

NB : il faut redémarrer shibboleth IDP pour prendre en compte les modifs de conf/choose-cas.js