Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Encrypting password information
John_Rizzo_(fedinvestadmin_-_(deleted))
Does anyone know the function used to encrypt the user input password information from the login screen before it is compared to the password info stored in the database? I was looking through the Java LAPI documentation and found the GetUserInfo UserPWD attribute. The problem with this is that it just returns the encrypted user password stored within the database, so that will do us no good. We would prefer to handle this through Oscript anyhow. Any help would be greatly appreciated!
Find more posts tagged with
Comments
Dylan_Wright_(xisdylan_-_(deleted))
Str.DecodeString Decode( String aString, [Integer keyToEncode], [Integer version] )Converts a String encoded by Str.Encode() back to ASCII text. Parameters: aString - An encoded String returned by the Str.Encode function. keyToEncode - An optional Integer corresponding to the keyToEncode value passed to the Str.Encode function when the String was encoded. This parameter is only used if version is equal to Str.OldEncoding. version - Specifies an optional version of the internal encoding algorithm used. Currently, Str.OldEncoding is the only meaningful value for this parameter. Returns: The String originally passed to the Str.Encode function.
Application_Services_FUJITSU_(fuji_ware05_-_(delet
Indeed this function can be used... But what are the values to be used for the practical password coding/encoding used in LL.More I'd like to decode the encoded password from the database. Is this possible?
John_Rizzo_(fedinvestadmin_-_(deleted))
From what I have heard, the encoded password stored in the DB is a hash that current has no decode function. I believe that a comparison of the encoded passwords (what you've entered vs what is in the DB) is what is used for authentication.
Johann_Lazarus_(sglcadmin13_-_(deleted))
I need to decode an user-password.thanksMarco
eLink User
Message from Nair, Krishnankutty N. via eLinkPut this in a LLrequestHandler one that comes withfunction Dynamic Execute( Dynamic ctxIn, Dynamic ctxOut, Record r )and call the func as ?func=.adjust it suitabley so that the this object when inspected has the.fPrgCtx etc)****************************************************************** String encPassword,password encPassword = $LLIAPI.AuthentPkg.GetHiddenPassword(.fPrgCtx.USession().fUserName) password=Str.Decode(encPassword)It works for us.I am executing the req handler as 'Admin'Thanks MuchKrishnankutty N NairWork 918-661-5824 Fax:918-661-9206Learn more about EDMS powered by Livelink at
http://edms.conoco.net/edms.htm-----Original
Message-----From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Wednesday, February 02, 2005 7:32 AMTo: eLink RecipientSubject: Did somebody allready sole this problem ???Did somebody allready sole this problem ???Posted by Wallig, Marco on 02/02/2005 08:29 AMI need to decode an user-password.thanksMarco[To reply to this thread, use your normal E-mail reply function.]============================================================Topic: Encrypting password information
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2194574&objAction=viewDiscussion
: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Johann_Lazarus_(sglcadmin13_-_(deleted))
If i do this, i will get the username back (encpassword="admin")instead of the uncoded password.What do i make wrong ??
Johann_Lazarus_(sglcadmin13_-_(deleted))
Now i am able to decode the password for the admin page:String adminPwd = $Kernel.SystemPreferences.GetPrefGeneral( 'adminPwd' )password2=Str.Decode(adminPwd) But how i am able to decode a User-Password ??Thanks Marco
Krishnankutty_Nair
sincere apololgies my mistake.You are right there is no reverse password hack,but only change that password,which can be done thru the gui.The only enencrypting I have seen is from the ini file.