<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Expires" content="0" />
    <title>OIOSAML.java demo application</title>
            <style type="text/css">
    	body {background-color: white; margin: 20px;}
    	body, tr, td {font-family: Verdana, Helvetica, sans-serif; color: #456974;}
    	div#pagecontainer {width: 80%;}
    	h1, h2, h3, h4 {color: #76c2bc; border-bottom: 1px solid #76c2bc;}
    	.monospace {font-family: monospace;}
    	legend {font-weight: bold;}
    	fieldset {margin-top: 10px; margin-bottom: 10px;}
    	span.emphasis {font-weight: bold;}
    </style>
  </head>
<body>
<%@page import="dk.itst.oiosaml.configuration.BRSConfiguration"%>
<%@page import="org.apache.commons.configuration.Configuration"%>
<%@page import="dk.itst.oiosaml.sp.service.util.Constants"%>
<%@page import="dk.itst.oiosaml.sp.UserAssertion"%>

<a href="<%= request.getContextPath() %>">Home</a>
<% try {
	BRSConfiguration.getSystemConfiguration(); 
	UserAssertion ua = (UserAssertion)session.getAttribute(Constants.SESSION_USER_ASSERTION);
	%>
<%=ua != null && ua.isAuthenticated() ? "<a href=\"" + request.getContextPath() + "/saml/Logout\">Log out</a>" : "<a href=\"" + request.getContextPath() + "/saml/login\">Login</a>"%>
<% } catch (RuntimeException e) { %>
<h2>System is not configured</h2>
<a href="saml/configure">Configure the system here</a>.
<% } %>
<a href="<%= request.getContextPath() %>/docs/index.html">OIOSAML.java Documentation</a><commit_msg>added link to metadata in demo app<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Expires" content="0" />
    <title>OIOSAML.java demo application</title>
            <style type="text/css">
    	body {background-color: white; margin: 20px;}
    	body, tr, td {font-family: Verdana, Helvetica, sans-serif; color: #456974;}
    	div#pagecontainer {width: 80%;}
    	h1, h2, h3, h4 {color: #76c2bc; border-bottom: 1px solid #76c2bc;}
    	.monospace {font-family: monospace;}
    	legend {font-weight: bold;}
    	fieldset {margin-top: 10px; margin-bottom: 10px;}
    	span.emphasis {font-weight: bold;}
    </style>
  </head>
<body>
<%@page import="dk.itst.oiosaml.configuration.BRSConfiguration"%>
<%@page import="org.apache.commons.configuration.Configuration"%>
<%@page import="dk.itst.oiosaml.sp.service.util.Constants"%>
<%@page import="dk.itst.oiosaml.sp.UserAssertion"%>

<a href="<%= request.getContextPath() %>">Home</a>
<% try {
	BRSConfiguration.getSystemConfiguration(); 
	UserAssertion ua = (UserAssertion)session.getAttribute(Constants.SESSION_USER_ASSERTION);
	%>
<%=ua != null && ua.isAuthenticated() ? "<a href=\"" + request.getContextPath() + "/saml/Logout\">Log out</a>" : "<a href=\"" + request.getContextPath() + "/saml/login\">Login</a>"%>

<a href="<%= request.getContextPath() %>/saml/metadata">Metadata</a>

<% } catch (RuntimeException e) { %>
<h2>System is not configured</h2>
<a href="saml/configure">Configure the system here</a>.
<% } %>
<a href="<%= request.getContextPath() %>/docs/index.html">OIOSAML.java Documentation</a>
{'fraction_non_alphanumeric': 0.19639389736477114, 'fraction_numerical': 0.022191400832177532, 'mean_word_length': 4.210982658959537, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 72, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5291284', 'n_tokens_mistral': 1383, 'n_tokens_neox': 1305, 'n_words': 239}