<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=5&amp;t=743" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2012-03-06T11:21:57+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=743</id>
<entry>
<author><name><![CDATA[Anonymous]]></name></author>
<updated>2012-03-06T11:21:57+01:00</updated>
<published>2012-03-06T11:21:57+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=743&amp;p=2953#p2953</id>
<link href="https://forum.yubico.com/viewtopic.php?t=743&amp;p=2953#p2953"/>
<title type="html"><![CDATA[Re: login module for jboss7]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=743&amp;p=2953#p2953"><![CDATA[
We do not have configuration examples showing how to use JAAS with JBoss. I would recommend searching the Internet for &quot;jaas jboss&quot; and similar. Using Google, that turns up a wealth of information - for example <a href="https://community.jboss.org/wiki/SecurityJAASLoginModule" class="postlink">https://community.jboss.org/wiki/SecurityJAASLoginModule</a> looks informative.<br /><br />/Fredrik<p>Statistics: Posted by Guest — Tue Mar 06, 2012 11:21 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[fiorenzino]]></name></author>
<updated>2012-01-09T16:57:19+01:00</updated>
<published>2012-01-09T16:57:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=743&amp;p=2897#p2897</id>
<link href="https://forum.yubico.com/viewtopic.php?t=743&amp;p=2897#p2897"/>
<title type="html"><![CDATA[login module for jboss7]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=743&amp;p=2897#p2897"><![CDATA[
Hi to all,<br /><br />i would use java client yubico on jboss 7 to protect my web application.<br /><br />I found in git, the yubico java client, but i don't know how configure jboss to use jaas versione and i don't knox if the code is usefull or i must reconfigure this.<br /><br />I think i need some help to accomplish following steps:<br /><br />1) create module folder with jar in jboss:<br />in jboss-as-7.0.2.Final/modules/com/yubico:<br />slf4j-api-1.6.1.jar<br />commons-codec-1.4.jar<br />vt-ldap-3.3.3.jar<br />commons-cli-1.2.jar<br />commons-logging-1.1.1.jar<br />dom4j-1.6.1.jar<br /><br />and a module.xml like this:<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />&lt;module xmlns=&quot;urn:jboss:module:1.0&quot; name=&quot;org.jasig.cas&quot;&gt;<br />  &lt;resources&gt;<br />    &lt;resource-root path=&quot;slf4j-api-1.6.1.jar&quot;/&gt;<br />    &lt;resource-root path=&quot;commons-codec-1.4.jar&quot;/&gt;<br />    &lt;resource-root path=&quot;vt-ldap-3.3.3.jar&quot;/&gt;<br />    &lt;resource-root path=&quot;commons-cli-1.2.jar&quot;/&gt;<br />    &lt;resource-root path=&quot;commons-logging-1.1.1.jar&quot;/&gt;<br />    &lt;resource-root path=&quot;dom4j-1.6.1.jar&quot;/&gt;<br />  &lt;/resources&gt;<br /><br />  &lt;dependencies&gt;<br />   &lt;module name=&quot;javax.api&quot;/&gt;<br />    &lt;module name=&quot;org.apache.commons.logging&quot;/&gt;<br />    &lt;module name=&quot;javax.security.auth.message.api&quot;/&gt;<br />    &lt;module name=&quot;javax.security.jacc.api&quot;/&gt;<br />    &lt;module name=&quot;javax.transaction.api&quot;/&gt;<br />    &lt;module name=&quot;javax.xml.bind.api&quot;/&gt;<br />    &lt;module name=&quot;javax.xml.stream.api&quot;/&gt;<br />    &lt;module name=&quot;org.jboss.common-core&quot;/&gt;<br />    &lt;module name=&quot;org.jboss.logging&quot;/&gt;<br />    &lt;module name=&quot;org.infinispan&quot;/&gt;<br />    &lt;module name=&quot;org.jboss.as.web&quot;/&gt;<br />    &lt;module name=&quot;javax.servlet.api&quot;/&gt;<br />    &lt;module name=&quot;org.picketbox&quot;/&gt;<br />  &lt;/dependencies&gt;<br />&lt;/module&gt;<br />2) how declaring in standalone.conf some like this:<br /> &lt;security-domain name=&quot;TestYUBICO&quot;&gt;<br />    &lt;authentication&gt;<br />        &lt;login-module code=&quot;com.yubico.jaas.YubikeyLoginModule&quot; flag=&quot;required&quot;&gt;<br />            &lt;module-option name=&quot;password-stacking&quot; value=&quot;useFirstPass&quot;/&gt;<br />         &lt;/login-module&gt;<br />    &lt;/authentication&gt;<br />&lt;/security-domain&gt;<br /><br />3) a jboss-web file like this:<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />&lt;jboss-web&gt;<br />&lt;security-domain&gt;TestYUBICO&lt;/security-domain&gt;<br />&lt;/jboss-web&gt;<br />3) a web page to use in web application login page<br /><br />&lt;form method=&quot;POST&quot; action=&quot;j_security_check&quot;&gt;                      <br />Name:&lt;INPUT TYPE=TEXT NAME=&quot;j_username&quot; VALUE=&quot;&quot; SIZE=15&gt;<br />Password:&lt;INPUT TYPE=PASSWORD NAME=&quot;j_password&quot; VALUE=&quot;&quot; SIZE=15&gt;<br />Token:&lt;INPUT TYPE=PASSWORD NAME=&quot;totp&quot; VALUE=&quot;&quot; SIZE=100&gt;                                     <br />&lt;INPUT TYPE=submit VALUE=&quot;validate&quot;&gt;<br />&lt;/form&gt;<br /><br /><br />I think is useful to follow the jboss example on use otp:<br /> <!-- m --><a class="postlink" href="http://community.jboss.org/wiki/OTPIntegrationWithJBossApplicationServer">http://community.jboss.org/wiki/OTPInte ... tionServer</a><!-- m --> <br /><br /><br />Can someone halp me?<br /><br />Thanks en advance<br /><br />Fiorenzo<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1927">fiorenzino</a> — Mon Jan 09, 2012 4:57 pm</p><hr />
]]></content>
</entry>
</feed>