Waffle configuration on JBoss 7.1

993 views
Skip to first unread message

Anda P

unread,
Sep 13, 2012, 7:49:10 AM9/13/12
to waffle...@googlegroups.com
Hi guys, 

Do you have a tutorial for configuring Waffle for JBoss 7.1 or even older ? And any idea how to integrate it in a Seam 3 app?

Many thanks, 

Anda Popovici

Daniel Doubrovkine

unread,
Sep 13, 2012, 8:58:39 AM9/13/12
to waffle...@googlegroups.com
Someone was inquiring about a problem with JBoss in this thread: http://waffle.codeplex.com/discussions/285938, it looked like they just configured the servlet filter as with tomcat.

Please contribute instructions, blog post or FAQ when you have this working.

Olivier Masseau

unread,
Jan 4, 2013, 5:41:52 AM1/4/13
to waffle...@googlegroups.com
Here is how I did it on my side:

1) I created a new 'waffle' module in jboss :
Just create a folder waffle\main in the modules folder, copy all the waffle jars in it and create a module.xml file:

<?xml version="1.0" encoding="UTF-8"?>

<module xmlns="urn:jboss:module:1.1" name="waffle">
   
    <resources>
        <resource-root path="waffle-jna.jar"/>
        <resource-root path="jna.jar"/>      
        <resource-root path="platform.jar"/>
        <resource-root path="guava-r07.jar"/>
        <resource-root path="commons-logging-1.1.1.jar"/>         
    </resources>
   
    <dependencies>
        <module name="javax.api"/>
        <module name="javax.servlet.api"/>      
    </dependencies>
   
</module>


2) Declare a dependency to the 'waffle' module in your project.

3) Add this filter to your web.xml file:

<filter>
  <filter-name>SecurityFilter</filter-name>
  <filter-class>waffle.servlet.NegotiateSecurityFilter</filter-class>
</filter>
<filter-mapping>
  <filter-name>SecurityFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

Daniel Doubrovkine

unread,
Jan 4, 2013, 1:18:53 PM1/4/13
to waffle...@googlegroups.com
Awesome. Want to contribute this to the docs? (https://github.com/dblock/waffle/tree/master/Docs)

Prit

unread,
Apr 12, 2013, 3:17:48 AM4/12/13
to waffle...@googlegroups.com

I am getting  java.lang.classnotfoundexception waffle.servlet.negotiatesecurityfilter
when i try to deploy the war on jboss

Daniel Doubrovkine

unread,
Apr 12, 2013, 9:39:19 AM4/12/13
to waffle...@googlegroups.com
You're probably putting the JARs in the wrong place. For a filter to work these need to go in a global class loader, but I don't know where that is in JBoss. It's somewhere in a lib folder with a bunch of JARs.

--
You received this message because you are subscribed to the Google Groups "waffle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to waffle-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Bubul Dey

unread,
Jun 22, 2016, 10:28:13 PM6/22/16
to waffle
Hello,

I want to configure security domain using waffle with local OS user registry but not able to under stand. Can you please guide me.

Regards,
Siddhartha 

Daniel Doubrovkine

unread,
Jun 23, 2016, 8:56:47 AM6/23/16
to waffle...@googlegroups.com
There's nothing to configure with Waffle, it uses your current domain.

For more options, visit https://groups.google.com/d/optout.



--

Bubul Dey

unread,
Jun 23, 2016, 11:24:04 PM6/23/16
to waffle...@googlegroups.com
Hello,

Can you please help me to configure security-domain to use local OS registry ?

Regards,
Sid

--
You received this message because you are subscribed to a topic in the Google Groups "waffle" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/waffle-users/mvkNFJnovFI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to waffle-users...@googlegroups.com.

Daniel Doubrovkine

unread,
Jun 25, 2016, 3:58:49 AM6/25/16
to waffle...@googlegroups.com
I don't think I understand the question, and this sounds outside of waffle scope, so maybe this isn't the best place to ask. Sorry can't be more helpful.

Bubul Dey

unread,
Jun 25, 2016, 4:14:28 AM6/25/16
to waffle...@googlegroups.com
Sorry Danial,

I have resolved this, is it possible to make authentication in linux as well using waffle ?

Regards,
Sid

Daniel Doubrovkine

unread,
Jun 25, 2016, 4:28:08 AM6/25/16
to waffle...@googlegroups.com
Would you please be so kind to explain what the question was and how you've resolved it - for the next person asking?

Bubul Dey

unread,
Jun 25, 2016, 4:35:39 AM6/25/16
to waffle...@googlegroups.com
Hi Danial,

I was trying to create a security domain in Jboss which will do the authentication with local OS registry. 
This option is available with WebSphere by default but not with Jboss. So I was trying create custom module so that, i can deploy that module in Jboss and using which this task will be accomplished. 


Regards,
Siddhartha 

 
Reply all
Reply to author
Forward
0 new messages