[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openam-commit
Subject: [CommitOpenAM] [Stash] sachiko has pushed changes to OpenAM/openam (master)
From: ForgeRock Stash <stash () forgerock ! org>
Date: 2015-10-15 22:20:49
Message-ID: 1382751768.4696.1444947649114.JavaMail.atlstash () stash ! internal ! forgerock ! com
[Download RAW message or body]
[Attachment #2 (text/html)]
<!DOCTYPE html>
<html lang="en">
<head></head>
<body class="stash-theme fullwidth">
<table width="100%" class="fullwidth">
<tbody>
<tr>
<td class="body-cell" colspan="3">
<table width="100%">
<tbody>
<tr>
<td bgcolor="#f5f5f5" class="header" style="background-color: #f5f5f5; border-bottom: \
1px solid #ccc; padding-left: 20px; height: 50px; padding-top: 10px; padding-bottom: \
10px; font-size: 18px; font-family: Arial"><a \
href="https://stash.forgerock.org/projects/OPENAM" style="color: #3b73af; \
text-decoration: none; font-size: 17px; font-weight: bold; padding-bottom: \
10px">OpenAM</a> / <a \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse" style="color: \
#3b73af; text-decoration: none; font-size: 17px; font-weight: bold; padding-bottom: \
10px">openam</a><br /> <div style="margin: 0; padding: 0; margin-top: 3px">
sachiko has
<span class="il">pushed changes</span> to: 'master'
</div></td>
</tr>
<tr>
<td>
<table border="0" width="100%" style="width:100%;min-width:100%">
<tbody>
<tr>
<td style="padding-right:10px;font-size:13px;font-family:Arial" valign="top" \
nowrap="nowrap"><a href="https://stash.forgerock.org/projects/OPENAM/repos/openam/commits/48fd29f1d9333252d1389ac7213556984432a604" \
style="text-decoration: none; color: #3c78b5;font-family: monospace;; color: #3b73af; \
text-decoration: none">48fd29f1d93</a></td> <td width="100%" \
style="width:100%;min-width:100%;padding-right:10px;font-size:13px;font-family:Arial" \
valign="top"><a style="text-decoration: none; color: #3c78b5; color: #3b73af; \
text-decoration: none" \
href="https://bugster.forgerock.org/jira/browse/OPENAM-5721">OPENAM-5721</a>: \
WindowsDesktopSSO will go through all items in trusted realm list even if it \
encounteres non-matching items to check whitelisting realm<br /><br /><a \
style="text-decoration: none; color: #3c78b5; color: #3b73af; text-decoration: none" \
href="https://bugster.forgerock.org/jira/browse/OPENAM-5721">OPENAM-5721</a>: \
WindowsDesktopSSO will go through all items in trusted realm list even if it \
encounteres non-matching items to check whitelisting realm</td> <td nowrap="nowrap" \
valign="top" style="font-size:13px;font-family:Arial;text-align:right;"><time \
title="15 October 2015 10:09 PM" datetime="2015-10-15T22:09:19+0100" \
class="deprecated">15 Oct 2015</time></td> </tr>
<tr>
<td></td>
<td colspan="2">
<table class="aui" style="border-collapse: collapse; margin: 20px 0; width: 100%; \
margin-top: 5px"> <tbody>
<tr style="background: #fff; color: #333">
<td style="font-size:13px;font-family:Arial;padding-top:2px;padding-right:10px;margin:0;; \
padding: 7px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid \
#ccc; border-top: 1px solid #ccc" valign="top"><a style="text-decoration: none; \
color: #3c78b5; color: #3b73af; text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse?at=master">openam-authentication/opena...ules/windowsdesktopsso/WindowsDesktopSSO.java</a></td>
<td style="font-size:13px;font-family:Arial;padding-top:2px;text-align:right \
!important;margin:0;; padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc; border-top: 1px solid #ccc" nowrap="nowrap" \
valign="top"><a style="text-decoration: none; color: #3c78b5; color: #3b73af; \
text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/commits/48fd29f1d933325 \
2d1389ac7213556984432a604#openam-authentication/openam-auth-windowsdesktopsso/src/main \
/java/com/sun/identity/authentication/modules/windowsdesktopsso/WindowsDesktopSSO.java">View \
changes</a></td> </tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">282</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">282</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">283</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">283</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; GSSName user = context.getSrcName();</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">284</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">284</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; final String userPrincipalName = user.toString();</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">285</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; boolean foundTrustedRealm = false;</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">285</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">286</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; for (final String trustedRealm : trustedRealms) {</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">286</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; if (!isTokenTrusted(userPrincipalName, trustedRealm)) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">287</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; d \
ebug.error("Kerberos token for " + userPrincipalName + " not trusted");</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">288</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; final String[] data = {userPrincipalName};</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">289</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; t \
hrow new AuthLoginException(amAuthWindowsDesktopSSO, "untrustedToken", data);</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">287</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; if (isTokenTrusted(userPrincipalName, trustedRealm)) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">288</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; foundTrustedRealm = true;</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">289</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; break;</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">290</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">290</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">291</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">291</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">292</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> if (!foundTrustedRealm) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">293</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; debug.error("Kerbero \
s token for " + userPrincipalName + " not trusted");</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">294</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; final String[] data = {userPrincipalName};</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">295</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; throw new AuthL \
oginException(amAuthWindowsDesktopSSO, "untrustedToken", data);</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">296</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">292</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">297</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> </td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">293</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">298</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; // Check if the user account from the Kerberos ticket exists </td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">294</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">299</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; // in the realm. The &qu \
ot;Alias Search Attribute Names" will be used to</td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
<table width="100%" class="fullwidth">
<tbody>
<tr>
<td class="chrome-cell footer" bgcolor="#f5f5f5" style="border-top: 1px solid #ccc; \
padding-left: 20px; height: 20px; padding-top: 10px; padding-bottom: 10px; font-size: \
12px; color: #707070; background-color: #f5f5f5; background-position: right 10px \
center; background-repeat: no-repeat; background-image: \
url(https://stash.forgerock.org/s/en_US/7e8b796/1/2.4.2/_/download/resources/nl.stefan \
kohler.stash.stash-notification-plugin:email-resources/logo-email-footer.png)"><strong>Hint:</strong> \
You received this notification because you're watching <a \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse" style="color: \
#3b73af; text-decoration: none">openam</a></td> </tr>
</tbody>
</table>
<table width="100%" style="width:100%;min-width:100%" cellpadding="0" \
cellspacing="0"> <tbody>
<tr>
<td style="font-size: 11px;font-family:Arial;color: #666; text-align: center; \
padding-top: 5px">Sent by <a \
href="https://marketplace.atlassian.com/plugins/nl.stefankohler.stash.stash-notification-plugin" \
style="text-decoration: none; color: #666; color: #3b73af; text-decoration: \
none">Notifyr for Stash</a>, the <a href="http://www.atlassian.com/software/stash/" \
style="text-decoration: none; color: #666; color: #3b73af; text-decoration: none">Git \
repository management for enterprise teams</a></td> </tr>
</tbody>
</table>
</body>
</html>
_______________________________________________
CommitOpenAM mailing list
CommitOpenAM@forgerock.org
https://lists.forgerock.org/mailman/listinfo/commitopenam
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic