Urgent pls help ! Protection problems of using Realm

2004-04-12 Thread a a
Dear all,
 
  I know using Realm can protect certain resouces of a url. But I found it is not 
possibly to use it in my server.
 
  My case is that I can't store the username and password of the roles and users in my 
server. I need to send the authenication information in a format of xml file to a 
foreign server and get back the login result from that server. So I can't use Realm to 
check the roles and password and do authentication directly in my server. 
 
  Is there any method that can solve that problem ? or any method instead of using 
Realm ? or override the current settings of Realm ?
 
Thankyou very much !
kawai

必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/


RE: Urgent pls help ! Protection problems of using Realm

2004-04-13 Thread a a
Dear all,
 
  I do not have any idea of writing a custom realm, even how to start writing it. Can 
you give me some example or any references that teaching how to write a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas <[EMAIL PROTECTED]> wrote:
You need to write a custom realm.

Mark

> My case is that I can't store the username and password of 
> the roles and users in my server. I need to send the 
> authenication information in a format of xml file to a 
> foreign server and get back the login result from that 
> server. So I can't use Realm to check the roles and password 
> and do authentication directly in my server. 
> 
> Is there any method that can solve that problem ? or any 
> method instead of using Realm ? or override the current 
> settings of Realm ?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/


RE: Urgent pls help ! Protection problems of using Realm

2004-04-14 Thread a a
Dear all,
 
  I do not have any idea of writing a custom realm, even how to start 
writing it. Can you give me some example or any references that teaching how to write 
a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas <[EMAIL PROTECTED]> wrote:
You need to write a custom realm.

Mark

> My case is that I can't store the username and password of 
> the roles and users in my server. I need to send the 
> authenication information in a format of xml file to a 
> foreign server and get back the login result from that 
> server. So I can't use Realm to check the roles and password 
> and do authentication directly in my server. 
> 
> Is there any method that can solve that problem ? or any 
> method instead of using Realm ? or override the current 
> settings of Realm ?

必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/


Urgent ! Pls help !

2004-02-01 Thread a a
Dear all,
 
  I have some problem when connecting apache to tomcat.
  I have installed both apache1.3 and tomcat4.
  I use mod_jk to do the connection. However some problems exists.
  Here is the log file of "mod_jk.log" when I run "apachectl restart":
 
[Wed Jan 28 20:32:57 2004]  [jk_connect.c (233)]: jk_open_socket, 
connect() failed errno = 111
[Wed Jan 28 20:32:57 2004]  [jk_ajp_common.c (757)]: Error connecting 
to tomcat. Tomcat is probably not started or is listenning on the wrong 
port. Failed errno = 111
 
and here is the worker.properties:
workers.tomcat_home=/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina
workers.java_home=$(JAVA_HOME)
workers.th=$(workers.tomcat_home)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr
 
 
  I don't know what the problem is. Could anyone please help me to 
solve the problem.
 
Regards,
John LEE


必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/


Urgent ! Pls help !

2004-02-01 Thread a a
Dear all,

  I have some problem when connecting apache to tomcat.
  I have installed both apache1.3 and tomcat4.
  I use mod_jk to do the connection. However some problems exists.
  Here is the log file of "mod_jk.log" when I run "apachectl restart":

[Wed Jan 28 20:32:57 2004]  [jk_connect.c (233)]: jk_open_socket, 
connect() failed errno = 111
[Wed Jan 28 20:32:57 2004]  [jk_ajp_common.c (757)]: Error connecting 
to tomcat. Tomcat is probably not started or is listenning on the wrong 
port. Failed errno = 111

and here is the worker.properties:
workers.tomcat_home=/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina
workers.java_home=$(JAVA_HOME)
workers.th=$(workers.tomcat_home)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr


  I don't know what the problem is. Could anyone please help me to 
solve the problem.

Regards,
John LEE



必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/


Urgent ! Pls help !

2004-02-01 Thread a a
Dear all,

  I have some problem when connecting apache to tomcat.
  I have installed both apache1.3 and tomcat4.
  I use mod_jk to do the connection. However some problems exists.
  Here is the log file of "mod_jk.log" when I run "apachectl restart":

[Wed Jan 28 20:32:57 2004]  [jk_connect.c (233)]: jk_open_socket, 
connect() failed errno = 111
[Wed Jan 28 20:32:57 2004]  [jk_ajp_common.c (757)]: Error connecting 
to tomcat. Tomcat is probably not started or is listenning on the wrong 
port. Failed errno = 111

and here is the worker.properties:
workers.tomcat_home=/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina
workers.java_home=$(JAVA_HOME)
workers.th=$(workers.tomcat_home)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr


  I don't know what the problem is. Could anyone please help me to 
solve the problem.

Regards,
John LEE




必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://ringtone.yahoo.com.hk/