<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK
href="cid:filelist.xml@01C30A8E.0001D620" rel=File-List><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.EmailStyle18 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
mso-style-name: ""; mso-spl-e: yes
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0in
}
UL {
MARGIN-BOTTOM: 0in
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=EN-US style="tab-interval: .5in" vLink=purple link=blue><![if !supportLists]><![endif]><![if !supportLists]><![endif]>
<DIV><SPAN class=350583515-24042003><FONT face=Arial color=#0000ff
size=2>password is saved as decoded value in opencms.</FONT></SPAN></DIV>
<DIV><SPAN class=350583515-24042003>17d685f65e3871473c7823a72c3ce73f
</SPAN></DIV>
<DIV><SPAN class=350583515-24042003>is the password saved in the user
table.</SPAN></DIV>
<DIV><SPAN class=350583515-24042003>The password cannot be
encoded.</SPAN></DIV>
<DIV><SPAN class=350583515-24042003><FONT face=Arial color=#0000ff
size=2>Therefore, you cannot get the real password !!!</FONT></SPAN></DIV>
<DIV><SPAN class=350583515-24042003><FONT face=Arial color=#0000ff size=2>This
problem i have, too :-(</FONT></SPAN></DIV>
<DIV><SPAN class=350583515-24042003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=350583515-24042003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Mit
freundlichen Grüßen <BR><BR><FONT color=#0000ff></FONT><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><SPAN
style="COLOR: blue">i.A. Tuan Le<BR></SPAN></SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><SPAN
style="COLOR: blue">IT-Consultant<BR></SPAN></SPAN><SPAN
style="COLOR: blue">____________________________________________<BR></SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><SPAN
style="COLOR: blue"><BR></P></SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><SPAN
style="COLOR: blue"></SPAN></SPAN>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><SPAN
style="COLOR: blue">comundus Unternehmensberatung GmbH<BR>Schüttelgrabenring 3,
71332 Waiblingen<BR><BR>Tel:<SPAN style="mso-spacerun: yes">
</SPAN>+49 (0) 71 51-5 00 28-0 Fax:<SPAN
style="mso-spacerun: yes"> </SPAN>-99<BR><BR><A
title="Herzlich Willkommen bei www.comundus.com"
href="http://www.comundus.com/"><FONT
color=#0000ff>www.comundus.com</FONT></A><FONT color=#000000>
</FONT><FONT color=#000000><A
title="Herzlich Willkommen auf www.comundus-e-quality.com"
href="http://www.comundus-e-quality.com/"><SPAN
style="COLOR: #ff923a; mso-bidi-font-weight: normal">www.comundus-e-quality.com</SPAN></A></FONT><BR>____________________________________________</SPAN><o:p></o:p></SPAN></P></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org]<B>Im
Auftrag von </B>Mario Wallnöfer<BR><B>Gesendet:</B> Donnerstag, 24. April 2003
17:26<BR><B>An:</B> opencms-dev@opencms.org<BR><B>Betreff:</B> [opencms-dev]
problem reading password from OpenCmsUser<BR><BR></FONT></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003>I am trying in a jsp to read the password from a
CmsUser.</SPAN></o:p></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003></SPAN></o:p></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003>I do it in thgis way:</SPAN></o:p></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003><%
<BR> com.opencms.flex.jsp.CmsJspActionElement cms = new
com.opencms.flex.jsp.CmsJspActionElement(pageContext, request,
response);<BR> com.opencms.file.CmsObject cmsObject =
cms.getCmsObject();<BR> out.print("Username: " +
request.getParameter("user") +
"<br>");<BR> out.print("Passwort: " +
request.getParameter("password") +
"<br>");<BR> <BR> java.util.Vector lVec =
cmsObject.getUsers();<BR> for(int i=0;i<lVec.size();i++)
{<BR> com.opencms.file.CmsUser lUser =
(com.opencms.file.CmsUser)lVec.get(i);<BR> if(lUser.getName().equals(request.getParameter("user")))
{<BR> out.print("User gefunden....
<br>");<BR> out.print("Passwort: " +
lUser.getPassword());<BR> if(lUser.getPassword().equals(request.getParameter("password")))
{<BR> out.print("Passwot OK
......");<BR> break;<BR> }<BR> }<BR> }<BR> %></SPAN></o:p></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003></SPAN></o:p></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003>everything works well, the only problem is when
calling the getPassword() method i get something like <FONT
face="Times New Roman" color=#000000
size=3>17d685f65e3871473c7823a72c3ce73f</FONT></SPAN></o:p></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003>which is not the password string. What is the right
way to get the real Password ????</SPAN></o:p></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003></SPAN></o:p></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003></SPAN></o:p></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003></SPAN></o:p></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=128432015-24042003>Mario</SPAN></o:p></SPAN></DIV></BLOCKQUOTE></BODY></HTML>