Hello
Have you got any method to get login name of current user without access EJB?
Thank you
Wang
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867205#3867205
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867205
I am using a Message Driven Bean to access Database.
The access should be uniqe. I just want only one worker for this
JMS pool.
When two messages arrived the log as following:
[05/02/10 08:21:53] [JMS SessionPool Worker-0] Index product
batch time: 22531 ms
| [05/02/10 08:22:03] [JMS Sess
Thank you very much
I did it.
The problem is caused by my custom form authenticator, which deals with request
paramter at the first time and affect the others.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864487#3864487
Reply to the post :
http://www.jb
Thank you for your response.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864485#3864485
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864485
---
This SF.Net emai
It is very simple, and a jsp page submits japanese text message to another JSP
by using post or get.
Some code as following:
<%System.out.println(request.getCharacterEncoding());
| //request.setCharacterEncoding("SHIFT_JIS");
| String name = request.getParameter("name");
| System.out.printl
DatabaseServerLoginModule is used for login in my Application.
EJB can be access correctly by using JSP.
But I cannot login through Applet.
Could anyone tell me How I can call the secury EJB method by using Applet?
The deployment as following
login-config.xml
|
|
|
Could anyone tell me how can I reload or revive a XAResource in JBoss.
I am coding an application server which communicate with another Server through
socket. After restarted Server, I need to reload or revive the XAResource of
the application server(JBoss). I have no idea how to deal with the e
I am doing by this way
The program calls System.setProperty() and put
"java.security.auth.login.config" and value in.
Is it OK?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862073#3862073
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=p
I see.
I need put the
#-Djava.security.auth.login.config=file:c:/jaashowto/example/resources/auth.conf"
in the command line.
But I am going to use it in Applet.
So what shall I deal with this? How could I write a AppletClient?
Thanks
View the original post :
http://www.jboss.org/index.html?mo
Hello
I ran the example on my JBoss Server 4.01RC2.
It is fine to access from web, but I have got an error for using SessionClient.
java.lang.SecurityException: ???
| at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
| at sun.reflect.NativeConstructorAccessor
For example:
Write a FormAuthenticatorImpl extend FormAuthenticator.
After then change the describe in the file
/org/apache/catalina/mbeans/mbeans-descriptors.xml.
Thanks for any help
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859912#3859912
Reply to t
I hardly find any document to show how to do that.
Do I need to rewrite the FormAuthenticator or extend it and describe in a XML
file?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859911#3859911
Reply to the post :
http://www.jboss.org/index.html
I will do that.
Thank you very much.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859910#3859910
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859910
---
SF ema
I am using request.getPrincipal.getName() from servlet and
ctx.getCallerPrincipal().getName() from
EJB.
Is it correct.
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859817#3859817
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=pos
Hello
In weblogic, AuthFilterImpl is called via a RequestDispatcher.include() from
inside the servlet engine just before Authentication and Authorization and just
after.
Could any one tell me Jboss has got a similar interface?
Thanks in advance.
View the original post :
http://www.jboss.org/
I have got one question is how can I get current user?(who is authenticated or
a guest and running this thread)
In weblogic, we canuse weblogic.security.acl.Security.getCurrentUser();
It returns "guest", if the user is unauthenticated.
Thanks in Advance.
View the original post :
http://www.jb
Dear All
I don't know it is a bug or something else.
session.invalidate();
I put this code in my login.jsp, the "HTTP Status 400 - Invalid direct
reference to form login page" will come out.
Is it meaning I can not disable a session in login.jsp?
Login.jsp uses j_security_check as action.
Th
I have got a jsp using Applet like that Under Weblogic Server.
It is using weblogic class path as CodeBase.
Could you tell me the JBoss has got similar parameter for setting CodeBase.
Thanks in Advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=
I have got a jsp using Applet like that Under Weblogic Server.
|
|
It is using weblogic class path as CodeBase.
Could you tell me the JBoss has got similar parameter for setting CodeBase.
Thanks in Advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopi
Thank you very much.
It is working now.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859523#3859523
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859523
---
SF e
If I visit the http://localhost:8080/library/, it is working and without any
error.
But when I use http://localhost:8080/library/login.jsp, it goes to login.jsp
again after successful login. After that, if you input password and username
and submit again, I have got error like this "HTTP Status
Please tell me how can I see the access log file wroten by Tomcat?
It doesn't in the log directory.
Thanks in Advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859380#3859380
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode
The document said if the authentification succeed, the page will move to
index.jsp. But in my case it is not working.
On the contra, it goes to the page I defined, when the authentification
unsucceed.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859230#385
Hello everyone
When I use action=j_security_check in my login.jsp, it goes to Http 400 Error
on the web page without any error log in the Server.log file.
>From broswer
>HTTP Status 400 - Invalid direct reference to form login page
>
>-
Hi suzyrizzo
Could you give me the source code of JPEReportSourceFactory.java?
I think that it should be something wrong there. JPEReportSourceFactory is
responsible for generating a absolute path.
the root path in Jboss for my application is the place where you start
it.(%JBOSS_HOME%/bin/)
H
It seems like the shutdown jar will call RMIAdapter or JMX service. But for the
minimal service, both of the services are not support.
Just my opinion
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858968#3858968
Reply to the post :
http://www.jboss.org/ind
Hello:
I want to implement JAAS in my application by calling j_security_check in JSP.
I really want the Application to access database and doing security
authentification and known that it could be done by using realm. Where can I
find any documents about implementing this function on Jboss?
T
I am doing it.(migrate from Weblogic to JBoss)
The first, you should check whether the application used API only supported by
old Application.
The second, you should make sure that the web.xml is correct.
The third, you should modify the egb-jar.xml and create a jboss.xml in EJB jar
file.
The
I implemented in by using JMX MBean
Thank you very much.
I have got an other question so far.
Can I Shutdown Jboss. When the Server is failure of Deployment my MBean?
I tried calling org.jboss.Shutdown, but it need to visit shutdown.jar in bin
directory.
But I cannot put the shutdown.jar into
I am carrying out a project to migrate a application from Weblogic to Jboss
Server.
I have got some code using T3StartupDef and T3ShutdownDef services supported by
Weblogic.
Does anybody can tell me whether Jboss have got any similar interfaces or APIs?
Thanks
View the original post :
htt
30 matches
Mail list logo