[java-identity-provider] branch master updated: IDP-1126 - Validation and testing features focused on new deployers
Scott Cantor
cantor.2 at osu.edu
Tue Jun 23 00:16:00 UTC 2020
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=59060520d835549ef7c455f20333ae66a19b70a0
The following commit(s) were added to refs/heads/master by this push:
new 59060520d IDP-1126 - Validation and testing features focused on new deployers
59060520d is described below
commit 59060520d835549ef7c455f20333ae66a19b70a0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 22 20:15:35 2020 -0400
IDP-1126 - Validation and testing features focused on new deployers
https://issues.shibboleth.net/jira/browse/IDP-1126
Extend hello view with authn diagnostics.
---
idp-conf/src/main/resources/views/admin/hello.vm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/idp-conf/src/main/resources/views/admin/hello.vm b/idp-conf/src/main/resources/views/admin/hello.vm
index e63dbfd12..33a0528de 100644
--- a/idp-conf/src/main/resources/views/admin/hello.vm
+++ b/idp-conf/src/main/resources/views/admin/hello.vm
@@ -23,7 +23,7 @@
<body>
<div class="wrapper">
- <div class="container">
+ <div class="container" style="width: 100%">
<header>
<img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
<h3>#springMessageText("idp.title", "Web Login Service")</h3>
@@ -31,6 +31,18 @@
<div class="content">
<h4>#springMessageText("hello-world.greeting", "Greetings"), <em>$encoder.encodeForHTML($subjectContext.getPrincipalName())</em></h4>
+ <br/>
+ <h4>Authenticated By</h4>
+ #foreach ($result in $subjectContext.getAuthenticationResults().entrySet())
+ <blockquote>$encoder.encodeForHTML($result.getKey())</blockquote>
+ #end
+ <br/>
+ <h4>Java Principals in Subjects</h4>
+ #foreach ($s in $subjectContext.getSubjects())
+ #foreach ($p in $s.getPrincipals())
+ <blockquote>$encoder.encodeForHTML($p)<blockquote>
+ #end
+ #end
#if ($attributeContext && !$attributeContext.getUnfilteredIdPAttributes().isEmpty())
<br/>
<h4>Attributes:</h4>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list