Re: Encrypt and Decrypt Password

2000-09-19 Thread Stefan Bushev

do you use request.getParameter() to get it's value?
just like:
  input type=hidden name=blah value="Directory Manager"
  ...

so in the jsp:
  %=request.getParameter("blah")%
should return:
  Directory Manager

s.b.

From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 16:49:35 GMT

Hi,
   Thanks for this.But actually I have to transfer it through an
a href  link.Because I have a table displaying vlues from LDAP, and next
to each record I have a text written as  "Del".
By clicking on it,the user can delete that record.
But the value will be visible in the a href link which is what I want to
avoid.So I wish to encrypt the password and then decrypt it back.

One another problem that I am facing,is passign values which have  space in
between.Through a href it is fine,but when I transfer it through input
type =Hidden the value after space is removed.

Like the name  Directory Manager.
In the new JSP I receive only Directory and not Directory Manager

Any particular reason for this??


hi raj..
you may do something like:
form id="myForm" action="some.jsp" method=post
  input type=hidden name=password value=something
/form
a onClick="return myFunct()"blabla/a

script language="JavaScript"
  function myFunct() {
myForm.submit();
  }
/script

i hope this will help you

regards,
stefan bushev


From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 01:36:05 GMT

Hi,
   How can I pass the value of a password without it being visible to the
user on the browser?
I will be passing it through a href link,but the value of the password
will be visible.
Is it possible to encrypt while passing and decrypt back to original
value
in the othe JSP?
If someone has written a code in this,it would be really helpful if you
could share it.

Thanks,
Raj

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Encrypt and Decrypt Password

2000-09-19 Thread Raj S

HI,
   Yes that's what I have used,and it works fine when transferred from JSP1
to JSP2,but when I transfer from  JSP2 to JSP3 the value that I get I get is
just Directory and not Directory Manager.

What I have done,is implemented a method which searches for a blank and
inserts a character before forwarding,and in the JSP3 it removes that
character.

But,honestly I can't understand this behaviour of not getting the complete
name.

With buttons I can still manage,but I just can't make out how to send the
password through A HREF.

Thanks,
Raj



From: Stefan Bushev [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password
Date: Tue, 19 Sep 2000 11:09:01 EEST

do you use request.getParameter() to get it's value?
just like:
  input type=hidden name=blah value="Directory Manager"
  ...

so in the jsp:
  %=request.getParameter("blah")%
should return:
  Directory Manager

s.b.

From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 16:49:35 GMT

Hi,
   Thanks for this.But actually I have to transfer it through an
a href  link.Because I have a table displaying vlues from LDAP, and next
to each record I have a text written as  "Del".
By clicking on it,the user can delete that record.
But the value will be visible in the a href link which is what I want to
avoid.So I wish to encrypt the password and then decrypt it back.

One another problem that I am facing,is passign values which have  space
in
between.Through a href it is fine,but when I transfer it through input
type =Hidden the value after space is removed.

Like the name  Directory Manager.
In the new JSP I receive only Directory and not Directory Manager

Any particular reason for this??


hi raj..
you may do something like:
form id="myForm" action="some.jsp" method=post
  input type=hidden name=password value=something
/form
a onClick="return myFunct()"blabla/a

script language="JavaScript"
  function myFunct() {
myForm.submit();
  }
/script

i hope this will help you

regards,
stefan bushev


From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 01:36:05 GMT

Hi,
   How can I pass the value of a password without it being visible to
the
user on the browser?
I will be passing it through a href link,but the value of the password
will be visible.
Is it possible to encrypt while passing and decrypt back to original
value
in the othe JSP?
If someone has written a code in this,it would be really helpful if you
could share it.

Thanks,
Raj

_
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Privat

Re: Encrypt and Decrypt Password

2000-09-19 Thread Raj S

Hi,
  Iam trying Sessions.Pls let me know if this is correct.

%HttpSession Hsession= request.getSession(true);

%
Hsession.putValue(slog,Ologin);
Hsession.putValue(spwd,Opassword);

Object Ologin1 = Hsession.getValue("slog");
Object Opassword1  = Hsession.getValue("spwd");

String slog=(String)Ologin1;
String spasswd= (String)Opassword1;
out.println("SESSION VALUE OF LOGIN  IS ,: "+slog);
out.println("SESSION VALUE OF PASSWORD IS : "+spasswd);
%

But when I use getVaue(),it returns null.

Thanks,
Raj







From: Stefan Bushev [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password
Date: Tue, 19 Sep 2000 11:09:01 EEST

do you use request.getParameter() to get it's value?
just like:
  input type=hidden name=blah value="Directory Manager"
  ...

so in the jsp:
  %=request.getParameter("blah")%
should return:
  Directory Manager

s.b.

From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 16:49:35 GMT

Hi,
   Thanks for this.But actually I have to transfer it through an
a href  link.Because I have a table displaying vlues from LDAP, and next
to each record I have a text written as  "Del".
By clicking on it,the user can delete that record.
But the value will be visible in the a href link which is what I want to
avoid.So I wish to encrypt the password and then decrypt it back.

One another problem that I am facing,is passign values which have  space
in
between.Through a href it is fine,but when I transfer it through input
type =Hidden the value after space is removed.

Like the name  Directory Manager.
In the new JSP I receive only Directory and not Directory Manager

Any particular reason for this??


hi raj..
you may do something like:
form id="myForm" action="some.jsp" method=post
  input type=hidden name=password value=something
/form
a onClick="return myFunct()"blabla/a

script language="JavaScript"
  function myFunct() {
myForm.submit();
  }
/script

i hope this will help you

regards,
stefan bushev


From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 01:36:05 GMT

Hi,
   How can I pass the value of a password without it being visible to
the
user on the browser?
I will be passing it through a href link,but the value of the password
will be visible.
Is it possible to encrypt while passing and decrypt back to original
value
in the othe JSP?
If someone has written a code in this,it would be really helpful if you
could share it.

Thanks,
Raj

_
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

__

Re: Encrypt and Decrypt Password

2000-09-19 Thread Shen, Tony

Would anyone out there kindly remind me how to unsubscribe and re-subscribe
again. I'll be out of town for about 3 weeks.
Thanks


 --
 From: Raj S[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list about Java Server Pages specification and
 reference
 Sent: Tuesday, September 19, 2000 10:36 AM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Encrypt and Decrypt Password

 Hi,
   Iam trying Sessions.Pls let me know if this is correct.

 %HttpSession Hsession= request.getSession(true);

 %
 Hsession.putValue(slog,Ologin);
 Hsession.putValue(spwd,Opassword);

 Object Ologin1 = Hsession.getValue("slog");
 Object Opassword1  = Hsession.getValue("spwd");

 String slog=(String)Ologin1;
 String spasswd= (String)Opassword1;
 out.println("SESSION VALUE OF LOGIN  IS ,: "+slog);
 out.println("SESSION VALUE OF PASSWORD IS : "+spasswd);
 %

 But when I use getVaue(),it returns null.

 Thanks,
 Raj







 From: Stefan Bushev [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Encrypt and Decrypt Password
 Date: Tue, 19 Sep 2000 11:09:01 EEST
 
 do you use request.getParameter() to get it's value?
 just like:
   input type=hidden name=blah value="Directory Manager"
   ...
 
 so in the jsp:
   %=request.getParameter("blah")%
 should return:
   Directory Manager
 
 s.b.
 
 From: Raj S [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Encrypt and Decrypt Password
 Date: Mon, 18 Sep 2000 16:49:35 GMT
 
 Hi,
Thanks for this.But actually I have to transfer it through an
 a href  link.Because I have a table displaying vlues from LDAP, and
 next
 to each record I have a text written as  "Del".
 By clicking on it,the user can delete that record.
 But the value will be visible in the a href link which is what I want
 to
 avoid.So I wish to encrypt the password and then decrypt it back.
 
 One another problem that I am facing,is passign values which have  space
 in
 between.Through a href it is fine,but when I transfer it through
 input
 type =Hidden the value after space is removed.
 
 Like the name  Directory Manager.
 In the new JSP I receive only Directory and not Directory Manager
 
 Any particular reason for this??
 
 
 hi raj..
 you may do something like:
 form id="myForm" action="some.jsp" method=post
   input type=hidden name=password value=something
 /form
 a onClick="return myFunct()"blabla/a
 
 script language="JavaScript"
   function myFunct() {
 myForm.submit();
   }
 /script
 
 i hope this will help you
 
 regards,
 stefan bushev
 
 
 From: Raj S [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Encrypt and Decrypt Password
 Date: Mon, 18 Sep 2000 01:36:05 GMT
 
 Hi,
How can I pass the value of a password without it being visible to
 the
 user on the browser?
 I will be passing it through a href link,but the value of the
 password
 will be visible.
 Is it possible to encrypt while passing and decrypt back to original
 value
 in the othe JSP?
 If someone has written a code in this,it would be really helpful if
 you
 could share it.
 
 Thanks,
 Raj
 
 __
 ___
 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:
 
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
 
 ___
 __
 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ===
 
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:
 
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
 
 
 _
 Get Your Private, Free E-mail from MSN H

Re: Encrypt and Decrypt Password

2000-09-19 Thread Cogley, Jonathan

Read the bottom of any email in the list.


-Original Message-
From: Shen, Tony [mailto:[EMAIL PROTECTED]]
Sent: 19 September, 2000 12:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password


Would anyone out there kindly remind me how to unsubscribe and re-subscribe
again. I'll be out of town for about 3 weeks.
Thanks


 --
 From: Raj S[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list about Java Server Pages specification and
 reference
 Sent: Tuesday, September 19, 2000 10:36 AM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Encrypt and Decrypt Password

 Hi,
   Iam trying Sessions.Pls let me know if this is correct.

 %HttpSession Hsession= request.getSession(true);

 %
 Hsession.putValue(slog,Ologin);
 Hsession.putValue(spwd,Opassword);

 Object Ologin1 = Hsession.getValue("slog");
 Object Opassword1  = Hsession.getValue("spwd");

 String slog=(String)Ologin1;
 String spasswd= (String)Opassword1;
 out.println("SESSION VALUE OF LOGIN  IS ,: "+slog);
 out.println("SESSION VALUE OF PASSWORD IS : "+spasswd);
 %

 But when I use getVaue(),it returns null.

 Thanks,
 Raj







 From: Stefan Bushev [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Encrypt and Decrypt Password
 Date: Tue, 19 Sep 2000 11:09:01 EEST
 
 do you use request.getParameter() to get it's value?
 just like:
   input type=hidden name=blah value="Directory Manager"
   ...
 
 so in the jsp:
   %=request.getParameter("blah")%
 should return:
   Directory Manager
 
 s.b.
 
 From: Raj S [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Encrypt and Decrypt Password
 Date: Mon, 18 Sep 2000 16:49:35 GMT
 
 Hi,
Thanks for this.But actually I have to transfer it through an
 a href  link.Because I have a table displaying vlues from LDAP, and
 next
 to each record I have a text written as  "Del".
 By clicking on it,the user can delete that record.
 But the value will be visible in the a href link which is what I want
 to
 avoid.So I wish to encrypt the password and then decrypt it back.
 
 One another problem that I am facing,is passign values which have  space
 in
 between.Through a href it is fine,but when I transfer it through
 input
 type =Hidden the value after space is removed.
 
 Like the name  Directory Manager.
 In the new JSP I receive only Directory and not Directory Manager
 
 Any particular reason for this??
 
 
 hi raj..
 you may do something like:
 form id="myForm" action="some.jsp" method=post
   input type=hidden name=password value=something
 /form
 a onClick="return myFunct()"blabla/a
 
 script language="JavaScript"
   function myFunct() {
 myForm.submit();
   }
 /script
 
 i hope this will help you
 
 regards,
 stefan bushev
 
 
 From: Raj S [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Encrypt and Decrypt Password
 Date: Mon, 18 Sep 2000 01:36:05 GMT
 
 Hi,
How can I pass the value of a password without it being visible to
 the
 user on the browser?
 I will be passing it through a href link,but the value of the
 password
 will be visible.
 Is it possible to encrypt while passing and decrypt back to original
 value
 in the othe JSP?
 If someone has written a code in this,it would be really helpful if
 you
 could share it.
 
 Thanks,
 Raj
 
 __
 ___
 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:
 
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
 
 ___
 __
 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ===
 
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:
 
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jgur

Re: Encrypt and Decrypt Password

2000-09-18 Thread Stefan Bushev

hi raj..
you may do something like:
form id="myForm" action="some.jsp" method=post
  input type=hidden name=password value=something
/form
a onClick="return myFunct()"blabla/a

script language="JavaScript"
  function myFunct() {
myForm.submit();
  }
/script

i hope this will help you

regards,
stefan bushev


From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 01:36:05 GMT

Hi,
   How can I pass the value of a password without it being visible to the
user on the browser?
I will be passing it through a href link,but the value of the password
will be visible.
Is it possible to encrypt while passing and decrypt back to original value
in the othe JSP?
If someone has written a code in this,it would be really helpful if you
could share it.

Thanks,
Raj

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Encrypt and Decrypt Password

2000-09-18 Thread Raj S

Hi,
   Thanks for this.But actually I have to transfer it through an
a href  link.Because I have a table displaying vlues from LDAP, and next
to each record I have a text written as  "Del".
By clicking on it,the user can delete that record.
But the value will be visible in the a href link which is what I want to
avoid.So I wish to encrypt the password and then decrypt it back.

One another problem that I am facing,is passign values which have  space in
between.Through a href it is fine,but when I transfer it through input
type =Hidden the value after space is removed.

Like the name  Directory Manager.
In the new JSP I receive only Directory and not Directory Manager

Any particular reason for this??


hi raj..
you may do something like:
form id="myForm" action="some.jsp" method=post
  input type=hidden name=password value=something
/form
a onClick="return myFunct()"blabla/a

script language="JavaScript"
  function myFunct() {
myForm.submit();
  }
/script

i hope this will help you

regards,
stefan bushev


From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 01:36:05 GMT

Hi,
   How can I pass the value of a password without it being visible to the
user on the browser?
I will be passing it through a href link,but the value of the password
will be visible.
Is it possible to encrypt while passing and decrypt back to original value
in the othe JSP?
If someone has written a code in this,it would be really helpful if you
could share it.

Thanks,
Raj

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Encrypt and Decrypt Password

2000-09-18 Thread Artem Babenko

I realy don`t understand why you have to send password to a client.
1. Store your password in the session object.
2. If you want avoid cookies.
Create array of random generated key (numbers) and login for each pasword.
Store it in application object.
Login with a key represent a password.
Every key is used once only. (Then it is deleted from array of keys)
For each request generate a new key.
You could add expire time for every key also.
3. You can use JavaScript to send form with a hidden values.


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Raj S
Sent: Monday, September 18, 2000 8:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password


Hi,
   Thanks for this.But actually I have to transfer it through an
a href  link.Because I have a table displaying vlues from LDAP, and next
to each record I have a text written as  "Del".
By clicking on it,the user can delete that record.
But the value will be visible in the a href link which is what I want to
avoid.So I wish to encrypt the password and then decrypt it back.

One another problem that I am facing,is passign values which have  space in
between.Through a href it is fine,but when I transfer it through input
type =Hidden the value after space is removed.

Like the name  Directory Manager.
In the new JSP I receive only Directory and not Directory Manager

Any particular reason for this??


hi raj..
you may do something like:
form id="myForm" action="some.jsp" method=post
  input type=hidden name=password value=something
/form
a onClick="return myFunct()"blabla/a

script language="JavaScript"
  function myFunct() {
myForm.submit();
  }
/script

i hope this will help you

regards,
stefan bushev


From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 01:36:05 GMT

Hi,
   How can I pass the value of a password without it being visible to the
user on the browser?
I will be passing it through a href link,but the value of the password
will be visible.
Is it possible to encrypt while passing and decrypt back to original value
in the othe JSP?
If someone has written a code in this,it would be really helpful if you
could share it.

Thanks,
Raj

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

==
=
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Encrypt and Decrypt Password

2000-09-18 Thread Raj S

I am using JNDI, to access LDAP server to delete ,modify and add attributes
,I have to provide the username and password in the context.
This is the reason I have to forward the password and username from one JSP
to another.

From: Artem Babenko [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password
Date: Mon, 18 Sep 2000 20:53:53 +0400

I realy don`t understand why you have to send password to a client.
1. Store your password in the session object.
2. If you want avoid cookies.
 Create array of random generated key (numbers) and login for each
pasword.
 Store it in application object.
 Login with a key represent a password.
 Every key is used once only. (Then it is deleted from array of
keys)
 For each request generate a new key.
 You could add expire time for every key also.
3. You can use JavaScript to send form with a hidden values.


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Raj S
Sent: Monday, September 18, 2000 8:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password


Hi,
Thanks for this.But actually I have to transfer it through an
a href  link.Because I have a table displaying vlues from LDAP, and next
to each record I have a text written as  "Del".
By clicking on it,the user can delete that record.
But the value will be visible in the a href link which is what I want to
avoid.So I wish to encrypt the password and then decrypt it back.

One another problem that I am facing,is passign values which have  space in
between.Through a href it is fine,but when I transfer it through input
type =Hidden the value after space is removed.

Like the name  Directory Manager.
In the new JSP I receive only Directory and not Directory Manager

Any particular reason for this??

 
 hi raj..
 you may do something like:
 form id="myForm" action="some.jsp" method=post
   input type=hidden name=password value=something
 /form
 a onClick="return myFunct()"blabla/a
 
 script language="JavaScript"
   function myFunct() {
 myForm.submit();
   }
 /script
 
 i hope this will help you
 
 regards,
 stefan bushev
 
 
 From: Raj S [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Encrypt and Decrypt Password
 Date: Mon, 18 Sep 2000 01:36:05 GMT
 
 Hi,
How can I pass the value of a password without it being visible to
the
 user on the browser?
 I will be passing it through a href link,but the value of the password
 will be visible.
 Is it possible to encrypt while passing and decrypt back to original
value
 in the othe JSP?
 If someone has written a code in this,it would be really helpful if you
 could share it.
 
 Thanks,
 Raj
 
 _
 Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ==
=
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:
 
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
 
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:
 
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq