First, that class worked perfectly and it does keep you logged in. Thanks
again for the help Wolfgang. Second, I'd just like to complain (not to you,
just to the internet in general) that I've been trying to figure out how to do
this on and off for about 3 months now, and all I had to do was
Hi. Is it possible to take a principal that I authorize in my own servlet and
somehow stuff it into the JBoss container (or wherever it needs to go) so that
the user remains logged in for the duration of the session? If so, how can
that be done?
Basically, I'd like to bypass the FORM
Never mind. I was able to use my db encryption by subclassing
DatabaseServerLoginModule and overriding the convertRawPassword.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4251884#4251884
Reply to the post :
I've been making a lot of progress, and I'm finally able to log in using
DatabaseServerLoginModule with clear text passwords in my DB. So thanks for
all the help so far.
Ideally, I'd like to configure the module to use encrypted passwords though.
I'm using AES encryption in my database and
Ok, I'm able to authenticate users logging into the app now, but as soon as I
put @SecurityDomain on a session bean, I get the following error when I make a
call to a method on that bean:
javax.ejb.EJBAccessException: Authentication failure
Please let me know if you have any idea what I'm
Awesome. I see jboss-annotations-ejb3.jar. Thanks so much for the reply.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249510#4249510
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249510
It looks like there is a special ejb plugin for jboss :
http://www.jboss.org/ejb3
Is that something I need. It looks like this one is only for JBoss AS 5.1.0
though. I also see installation docs for JBoss 4.0.3SP1:
http://www.jboss.org/ejb3/docs/tutorial/installing.html
But nothing for
That's very strange. I looked for that annotation, and discovered I don't have
the org.jboss.annotation package. I do have other packages under org.jboss,
but not that one. Are you sure this comes with version 4.2.3.GA, and is in the
lib directory?
View the original post :
Thanks for the responses. I will check out those tutorials.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248498#4248498
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248498
The security tutorial mentions that I need to use the jboss annotation
org.jboss.ejb3.security.SecurityDomain, but it doesn't seem to exist in the
jars that come with 4.2.3. I added all the jars in the jboss lib directory to
my external library, but still don't have access to this class. Is
Hi. Is it possible to use Java security annotations (i.e. @RolesAllowed) in
JBoss 4.2.3? I know JBoss 4.2.3 should support java 5 and 6, but the docs at
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/4/html/Security_on_JBoss.html
only discuss
I've been searching for an answer to this for 3 days now, and all I've found
are unanswered threads, mostly from several years ago. Does anyone know a
solution to this?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4227629#4227629
Reply to the post :
I'm pretty new to EJB and JBOSS, but I really want to take advantage of all the
functionality they provide, including authentication. So I'm building a web app
with JAAS, JBOSS and AJAX, and I got it to authenticate a user. The problem is,
after it does it forwards the browser to the URL the
Thanks for the feedback. I looked up the namespaces, and my beans did not
appear in them. However, I did see an entry for shadows.ear and Shadows.war.
I double checked the ear file, and it definitely contains shadows.jar. So why
would its beans not be bound to any namespace?
Here are some
I took a look at the jboss server log to see what's going on with the ejb jar.
With my limited knowledge of jboss, it looks like its deploying the jar.
However, I noticed it didn't mention anything about the beans. Do you have any
idea why its finding the jar, but not binding the beans?
I'm not sure which type of bean they are. Here is one of the classes:
package com.castofshadows.manager;
|
| import com.castofshadows.entity.Address;
|
| import ...
|
| @Stateless
| public class AddressManagerBean implements AddressManager {
|
|
Actually I think these would be session beans
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213507#4213507
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213507
___
jboss-user
Oh, I'm sorry about that. I will try upgrading first.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213522#4213522
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213522
___
Thanks a lot for the help. I'm not quite there yet, but I've been making
progress ever since I upgraded jboss. Funny, now it bound my session beans,
but is no longer binding my action beans in Stripes! Ah, such is the price of
being a software developer.
View the original post :
Hi all. I'm getting a javax.naming.NameNotFoundException: shadows not bound
error when I hit my app in a web browser. Its deployed on JBoss. I have a
shadows.ear, which contains Shadows.jar, and Shadows.war.
I read the following on jndi naming:
When the EJBs are deployed in an .ear file,
By the way, here is the stack trace:
exception
|
| net.sourceforge.stripes.exception.StripesServletException: Exception
encountered processing request.
|
net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:189)
|
21 matches
Mail list logo