<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wicket, JBoss, JAAS, LDAP</title>
	<atom:link href="http://blog.xebia.com/2008/05/08/wicket-jboss-jaas-ldap/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xebia.com/2008/05/08/wicket-jboss-jaas-ldap/</link>
	<description></description>
	<lastBuildDate>Thu, 11 Mar 2010 16:23:01 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Laurent</title>
		<link>http://blog.xebia.com/2008/05/08/wicket-jboss-jaas-ldap/comment-page-1/#comment-91870</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Mon, 15 Jun 2009 07:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=551#comment-91870</guid>
		<description>Hi, 

Works great. Thanks for posting it.

Unless I missed something I didn&#039;t find a wicket build-in getter for &quot;username&quot;
So, I&#039;ve added private variable &quot;username&quot; next to roles and a getUsername().

Laurent</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Works great. Thanks for posting it.</p>
<p>Unless I missed something I didn&#8217;t find a wicket build-in getter for &#8220;username&#8221;<br />
So, I&#8217;ve added private variable &#8220;username&#8221; next to roles and a getUsername().</p>
<p>Laurent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Beaumont</title>
		<link>http://blog.xebia.com/2008/05/08/wicket-jboss-jaas-ldap/comment-page-1/#comment-44350</link>
		<dc:creator>Serge Beaumont</dc:creator>
		<pubDate>Thu, 08 May 2008 23:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=551#comment-44350</guid>
		<description>Erik,

I tried that option, but for some reason it did not work: isUserInRole() calls still failed on everything. This could mean that WebAuthentication does exactly that: authenticate, but no authorization.</description>
		<content:encoded><![CDATA[<p>Erik,</p>
<p>I tried that option, but for some reason it did not work: isUserInRole() calls still failed on everything. This could mean that WebAuthentication does exactly that: authenticate, but no authorization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Pragt</title>
		<link>http://blog.xebia.com/2008/05/08/wicket-jboss-jaas-ldap/comment-page-1/#comment-44349</link>
		<dc:creator>Erik Pragt</dc:creator>
		<pubDate>Thu, 08 May 2008 13:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=551#comment-44349</guid>
		<description>Hi Serge,

In JBoss 4.2.2, you can get logged into the Application Server by using the WebAuthentication class. It&#039;s located in JBoss, in the jbossweb-service.jar file. It&#039;s not on a Maven Repository as far as I know, so you have to install it manually.

You can use it something like:
&lt;pre code=&quot;java&quot;&gt;
    private boolean authenticateForContainer(String username, String password) {
        WebAuthentication webAuthentication = new WebAuthentication();
        return webAuthentication.login(username, password);
    }
&lt;/pre&gt;

I have no idea on how to to this in older versions of JBoss!

You can find more information about it here: http://roneiv.wordpress.com/2008/03/15/using-webauthentication-in-jboss/</description>
		<content:encoded><![CDATA[<p>Hi Serge,</p>
<p>In JBoss 4.2.2, you can get logged into the Application Server by using the WebAuthentication class. It&#8217;s located in JBoss, in the jbossweb-service.jar file. It&#8217;s not on a Maven Repository as far as I know, so you have to install it manually.</p>
<p>You can use it something like:</p>
<pre code="java">
    private boolean authenticateForContainer(String username, String password) {
        WebAuthentication webAuthentication = new WebAuthentication();
        return webAuthentication.login(username, password);
    }
</pre>
<p>I have no idea on how to to this in older versions of JBoss!</p>
<p>You can find more information about it here: <a href="http://roneiv.wordpress.com/2008/03/15/using-webauthentication-in-jboss/" rel="nofollow">http://roneiv.wordpress.com/2008/03/15/using-webauthentication-in-jboss/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
