Commit 52789a1f authored by HEVELINE Thomas's avatar HEVELINE Thomas
Browse files

Merge branch 'master' into feat/44-delivery-improvement

parents 6460e901 8b33a983
......@@ -113,6 +113,7 @@ dependencies_vuln:
needs:
- job: install_venv
artifacts: false
allow_failure: true
deploy_beta:
tags:
......
......@@ -54,7 +54,7 @@ class CASAuth(BaseAuth):
container = label.findNextSibling()
if container is None:
return None
value = container.getText()[1:-1]
value = container.getText().strip("[] \n\t")
return value or None
def _get_names(self, soup) -> Tuple[str, str]:
......
<!DOCTYPE html><html>
<head>
<title>Connexion réussie - CAS &#8211; Central Authentication Service</title>
<meta charset="UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /><link rel="stylesheet" type="text/css" href="/webjars/normalize.css/8.0.1/normalize.css" /><link rel="stylesheet" type="text/css" href="/webjars/bootstrap/4.5.0/css/bootstrap-grid.min.css" /><link rel="stylesheet" type="text/css" href="/webjars/material-components-web/4.0.0/dist/material-components-web.css" /><link rel="stylesheet" type="text/css" href="/webjars/mdi__font/5.0.45/css/materialdesignicons.css" /><link rel="stylesheet" type="text/css" href="/themes/enib/css/cas.css"/><link rel="icon" href="/favicon.ico" type="image/x-icon"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/></head>
<title>CAS - Central Authentication Service</title>
<meta charset="UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /></title>
<link rel="stylesheet" type="text/css" href="/webjars/normalize.css/8.0.1/normalize.css" /><link rel="stylesheet" type="text/css" href="/webjars/bootstrap/4.5.3/css/bootstrap-grid.min.css" /><link rel="stylesheet" type="text/css" href="/webjars/material-components-web/8.0.0/dist/material-components-web.css" /><link rel="stylesheet" type="text/css" href="/webjars/mdi__font/5.0.45/css/materialdesignicons.css" /><link rel="stylesheet" type="text/css" href="/themes/enib/css/cas.css"/><link rel="shortcut icon"
href="/favicon.ico" /><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/></head>
<body>
<script type="text/javascript" src="/webjars/headjs/1.0.3/head.min.js"></script>
......@@ -64,7 +68,7 @@
<div id="header" class="flc-screenNavigator-navbar fl-navbar fl-table">
<h1 id="app-name" class="fl-table-cell">
</h1>
</div>
</div>
</div>
</div>
<!-- <a class="navbar-brand" href="#">
......@@ -123,7 +127,7 @@
</li>
</ul>
</div>
<script>var countMessages = 0;</script>
<div class="justify-content-end" id="narvarMessages">
......@@ -155,82 +159,325 @@
<div class="mdc-drawer-app-content mdc-top-app-bar--fixed-adjust d-flex justify-content-center">
<main role="main" id="main-content" class="container-lg py-4">
<div id="content" class="row">
<div class="w-100 m-auto mdc-card p-4">
<div class="w-100 m-auto mdc-card p-4 text-justify">
<h2>Connexion réussie</h2>
<p>Bienvenue <strong>y6tishjy</strong>. Vous vous êtes authentifié(e) auprès du Service Central d'Authentification. Toutefois, vous voyez cette page car CAS ne connait pas votre destination finale ni comment vous y rediriger. Examinez la requête d'authentification et assurez-vous qu'une application ou service cible autorisé et enregistré auprès de CAS est spécifié.</p>
<p>Pour des raisons de sécurité, veuillez vous <a href="logout">déconnecter</a> et fermer votre navigateur lorsque vous avez fini d'accéder aux services authentifiés.</p>
<p>
The following attributes and services are resolved and available for <strong >y6tishjy</strong>:
The following attributes are resolved for <strong >y6tishjy</strong>:
<div class="w-100 mdc-data-table mx-auto my-4" id="divPrincipalAttributes">
<table id="attributesTable" class="mdc-data-table__table" style="white-space: unset">
<thead>
<tr class="mdc-data-table__header-row">
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Attribute</th>
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Value(s)</th>
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Type</th>
</tr>
</thead>
<tbody class="mdc-data-table__content">
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>cn</span></code></td>
<td class="mdc-data-table__cell"><code><span>[NOM À PARTICULE Prénom-Composé]</span></code></td>
<td class="mdc-data-table__cell"><code>Principal</code></td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>eduPersonAffiliation</span></code></td>
<td class="mdc-data-table__cell"><code><span>[student]</span></code></td>
<td class="mdc-data-table__cell"><code>Principal</code></td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>givenName</span></code></td>
<td class="mdc-data-table__cell"><code><span>[Prénom-Composé]</span></code></td>
<td class="mdc-data-table__cell"><code>Principal</code></td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>mail</span></code></td>
<td class="mdc-data-table__cell"><code><span>[y6tishjy@enib.fr]</span></code></td>
<td class="mdc-data-table__cell"><code>Principal</code></td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>credentialType</span></code></td>
<td class="mdc-data-table__cell"><code><span>[UsernamePasswordCredential]</span></code></td>
<td class="mdc-data-table__cell"><code>Authentication</code></td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>authenticationDate</span></code></td>
<td class="mdc-data-table__cell"><code><span>[1598179370]</span></code></td>
<td class="mdc-data-table__cell"><code>Authentication</code></td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>authenticationMethod</span></code></td>
<td class="mdc-data-table__cell"><code><span>[LdapAuthenticationHandler]</span></code></td>
<td class="mdc-data-table__cell"><code>Authentication</code></td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>successfulAuthenticationHandlers</span></code></td>
<td class="mdc-data-table__cell"><code><span>[LdapAuthenticationHandler]</span></code></td>
<td class="mdc-data-table__cell"><code>Authentication</code></td>
</tr>
</tbody>
</table>
<div id="attribute-tabs" class="mdc-tab-bar" role="tablist">
<div class="mdc-tab-scroller">
<div class="mdc-tab-scroller__scroll-area">
<div class="mdc-tab-scroller__scroll-content">
<button class="mdc-tab" role="tab" aria-selected="true">
<span class="mdc-tab__content">
<span class="mdc-tab__text-label">Principal</span>
</span>
<span class="mdc-tab-indicator">
<span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
<button class="mdc-tab" role="tab" aria-selected="true">
<span class="mdc-tab__content">
<span class="mdc-tab__text-label">Authentication</span>
</span>
<span class="mdc-tab-indicator">
<span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
<button class="mdc-tab" role="tab" aria-selected="true">
<span class="mdc-tab__content">
<span class="mdc-tab__text-label">Services</span>
</span>
<span class="mdc-tab-indicator">
<span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
</span>
<span class="mdc-tab__ripple"></span>
</button>
</div>
</div>
</div>
</div>
<section id="attribute-tab-0" class="attribute-tab">
<div class="w-100 mdc-data-table mx-auto my-4" id="divPrincipalAttributes" role="tabpanel" aria-labelledby="attributes-tab">
<table id="attributesTable" class="mdc-data-table__table" style="white-space: unset">
<thead>
<tr class="mdc-data-table__header-row">
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Attribute</th>
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Value(s)</th>
</tr>
</thead>
<tbody class="mdc-data-table__content">
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><kbd>cn</kbd></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[NOM À PARTICULE Prénom-Composé]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><kbd>eduPersonAffiliation</kbd></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[student]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><kbd>givenName</kbd></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[Prénom-Composé]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><kbd>mail</kbd></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[y6tishjy@enib.fr]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><kbd>sn</kbd></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[NOM À PARTICULE]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><kbd>uid</kbd></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[y6tishjy]</kbd></code>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<section id="attribute-tab-1" class="d-none attribute-tab">
<div class="w-100 mdc-data-table mx-auto my-4" id="divPrincipalAttributes" role="tabpanel" aria-labelledby="attributes-tab">
<table id="attributesTable" class="mdc-data-table__table" style="white-space: unset">
<thead>
<tr class="mdc-data-table__header-row">
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Attribute</th>
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Value(s)</th>
</tr>
</thead>
<tbody class="mdc-data-table__content">
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>credentialType</span></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[UsernamePasswordCredential]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>samlAuthenticationStatementAuthMethod</span></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[urn:oasis:names:tc:SAML:1.0:am:password]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>authenticationDate</span></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[1625148870]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>authenticationMethod</span></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[LdapAuthenticationHandler]</kbd></code>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell"><code><span>successfulAuthenticationHandlers</span></code></td>
<td class="mdc-data-table__cell">
<code><kbd>[LdapAuthenticationHandler]</kbd></code>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<section id="attribute-tab-2" class="d-none attribute-tab">
<div class="w-100 mdc-data-table mx-auto my-4" id="divPrincipalAttributes" role="tabpanel" aria-labelledby="attributes-tab">
<table id="attributesTable" class="mdc-data-table__table" style="white-space: unset">
<thead>
<tr class="mdc-data-table__header-row">
<th class="mdc-data-table__header-cell" role="columnheader" scope="col"></th>
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Service</th>
<th class="mdc-data-table__header-cell" role="columnheader" scope="col">Description</th>
</tr>
</thead>
<tbody class="mdc-data-table__content">
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="ENT" href="^(https)://ent.enib.fr/.*" >ENT</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="arexis" href="^(http)://ip38.enib.fr/arexis_ias/srv_login_cas/.*" >arexis</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="Tout enib" href="http.*://.*.enib.fr/.*" >Tout enib</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="webauth2" href="^(https)://webauth2.enib.fr/.*" >webauth2</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="Tout UBO" href="http.*://.*.univ-brest.fr/.*" >Tout UBO</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="scholarvox" href="http.*://univ.scholarvox.com/.*" >scholarvox</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="Web" href="https://www.enib.fr" >Web</a>
</td>
<td class="mdc-data-table__cell">
<span>Site web et pages perso</span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="ENTDEV" href="^(https)://entdev.enib.fr/.*" >ENTDEV</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="cas-management" href="^(https)://casv5.enib.fr/.*" >cas-management</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
<tr class="mdc-data-table__row">
<td class="mdc-data-table__cell">
<i class="mdi mdi-web"></i>
</td>
<td class="mdc-data-table__cell">
<a title="Moodletest" href="^(https)://moodletest.enib.fr/.*" >Moodletest</a>
</td>
<td class="mdc-data-table__cell">
<span></span>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</p>
<p>Pour des raisons de sécurité, veuillez vous <a href="logout">déconnecter</a> et fermer votre navigateur lorsque vous avez fini d'accéder aux services authentifiés.</p>
</div>
<script type="text/javascript">
let div = document.querySelector('#divPrincipalAttributes');
new mdc.dataTable.MDCDataTable(div);
$(document).ready(function () {
tabify(mdc);
});
function tabify(material) {
var elm = document.getElementById('attribute-tabs');
var tabs = material.tabBar.MDCTabBar.attachTo(elm);
tabs.listen('MDCTabBar:activated', function (ev) {
var index = ev.detail.index;
$('.attribute-tab').addClass('d-none');
$('#attribute-tab-' + index).removeClass('d-none');
});
tabs.foundation.adapter.activateTabAtIndex(0);
return tabs;
}
</script>
</div>
</main>
</div>
<footer class="footer" role="contentinfo">
<footer class="footer" role="contentinfo">
</footer>
</body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment