<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
JBoss AS 7 is still trying to locate login-config.xml
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/fabiovc27">valentino cruz</a> in <i>JBoss AS 7 Development</i> - <a href="https://community.jboss.org/message/775472#775472">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I have migrated our application from JBoss 4.0.5 to JBoss AS 7 and the only thing left to be completely done is to allow JBoss 7 to authenticate users via Kerberos SSO as we used to in JBoss 4.0.5.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The documentation says that now I can simply use the standalone.xml and put the contents of my previous login-config.xml file in there and specify the type of authentication and necessary properties such as the SPN.   However, when I try to login I see this exception on my logs:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><em>18:17:39,628 WARN  [org.jboss.security.auth.login.XMLLoginConfigImpl] (http-executor-threads - 10) <span style="color: #ff0000;"><strong>End loadConfig, failed to load config: file:/login-config.xml: java.io.FileNotFoundException: /login-config.xml (No such file or directory)</strong></span></em></p><p><em>          at java.io.FileInputStream.open(Native Method) [classes.jar:1.6.0_22]</em></p><p><em>          at java.io.FileInputStream.<init>(FileInputStream.java:106) [classes.jar:1.6.0_22]</em></p><p><em>          at java.io.FileInputStream.<init>(FileInputStream.java:66) [classes.jar:1.6.0_22]</em></p><p><em>          at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) [classes.jar:1.6.0_22]</em></p><p><em>          at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) [classes.jar:1.6.0_22]</em></p><p><em>          at java.net.URL.openStream(URL.java:1010) [classes.jar:1.6.0_22]</em></p><p><em>          at org.jboss.security.auth.login.XMLLoginConfigImpl.loadSunConfig(XMLLoginConfigImpl.java:440) [picketbox-4.0.7.Final.jar:4.0.7.Final]</em></p><p><em>          at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:408) [picketbox-4.0.7.Final.jar:4.0.7.Final]</em></p><p><em>          at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:379) [picketbox-4.0.7.Final.jar:4.0.7.Final]</em></p><p><em>          at org.jboss.security.auth.login.XMLLoginConfigImpl.refresh(XMLLoginConfigImpl.java:118) [picketbox-4.0.7.Final.jar:4.0.7.Final]</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>This tells me that somehow JB7 is not aware that I'm trying to configure this information in the standalone.xml file and not in the login-config.xml.   I'm not even packaging that file anymore since the documentation says it is no longer used.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Has anyone gotten SSO to work by using their previous login-config.xml contents into the standalone.xml or domain.xml files</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Any help woill be greatly appreciated, it seems this portion of the documetation is still lacking quite a bit.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thank you</p><p>-Valentino</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/775472#775472">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS 7 Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>