× Discuss about OFS, Temenos Connectors, Various OFS modes, OFS with Versions, OFS performance, Logging, EB.PHANTOM, OFS.SOURCE etc…

How to have user password for OFS?

  • arslan
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 1 month ago - 12 years 1 month ago #12871 by arslan
How to have user password for OFS? was created by arslan
Hi everyone again,

when i was working for another bank which was using R09, we were able to have user password from USER application by reading USER id in the routine to use that information into ofs message but in R10 i cant do it, is there anybody knows why or any solution for this??

Thank you all in advance
And waiting for Replies...
Last edit: 12 years 1 month ago by arslan.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #12873 by jpb
Replied by jpb on topic How to have user password for OFS?
There is no obvious technical reason for this behaviour, the reason might be the stateless design of browser.

How do you read the USER record and from where / when is the routine triggered?

Please Log in or Create an account to join the conversation.

  • arslan
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 1 month ago - 12 years 1 month ago #12874 by arslan
Replied by arslan on topic How to have user password for OFS?
reading event is simple way is "READ R.USR FROM F.USR, Y.USR.ID ELSE NULL" and from this R array i could able to have password. on Desktop or from backend routine can be triggered.It wastnt problem when or where you run it
Last edit: 12 years 1 month ago by arslan.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #12876 by jpb
Replied by jpb on topic How to have user password for OFS?
This works in R11:
*--------------------------------------------
    PROGRAM JPB.TEST

    $INSERT I_EQUATE
    $INSERT I_COMMON
    $INSERT I_F.USER

    CRT @(-1)


    CALL OPF("F.USER",F.USR)
    Y.USR.ID = "GTUSER"
    READ R.USR FROM F.USR, Y.USR.ID ELSE NULL
    CRT R.USR<EB.USE.PASSWORD>

    STOP
END

Please Log in or Create an account to join the conversation.

  • arslan
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 1 month ago #12877 by arslan
Replied by arslan on topic How to have user password for OFS?
i tried this in R10 but didnt work but again i will try during the day and i will inform you. thank you my friend.

Please Log in or Create an account to join the conversation.

  • arslan
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 1 month ago #12883 by arslan
Replied by arslan on topic How to have user password for OFS?
dear my friend,

i've tried before your suggestion and after you said again i've tried.as i saw and understood i am able to have it but when i execute the ofs msg it says security voilation.
End here are the code blocks

!
!
* <Rating>99</Rating>
!
!
PROGRAM ATB.CAGDAS2
! SUBROUTINE ATB.CAGDAS2
!
!
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.USER
!
!
FN.USR = "F.USER" ; F.USR = "" ; CALL OPF(FN.USR, F.USR)

R.USR = ""
Y.USER.ID = "CAGDAS3"
READ R.USR FROM F.USR, Y.USER.ID ELSE NULL
Y.OFS.PASSW = R.USR<EB.USE.PASSWORD>

Y.OFS = "USER,/I/PROCESS,cagdas3/" : Y.OFS.PASSW : "/,CAGDAS,START.DATE.PROFILE::=" : 20121212
Y.MSG.ID = "DENEME"
CRT Y.OFS
CALL ATB.OFS.ONLINE(Y.OFS,Y.MSG.ID,Y.ORD.ID,"",Y.MSG.OUT,Y.RSP)
!
!
END
but if i give the password it works fine, is there anyway??

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #12884 by durai611
Replied by durai611 on topic How to have user password for OFS?
Is the password encrypted? If so set the field password encrytion in OFS.SOURCE record you are using and try again.

Please Log in or Create an account to join the conversation.

  • arslan
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 1 month ago #12885 by arslan
Replied by arslan on topic How to have user password for OFS?
USER,/I/PROCESS,cagdas3/ /,CAGDAS,START.DATE.PROFILE::=20121212
when i send the data to TCS, it seems like that but how can i set the field ?

Please Log in or Create an account to join the conversation.

  • arslan
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 1 month ago #12886 by arslan
Replied by arslan on topic How to have user password for OFS?
yes i've tried your way and it worked, thank you my friend :)

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #12888 by durai611
Replied by durai611 on topic How to have user password for OFS?
Set the field PSWD.ENCRYPTED as YES in the OFS.SOURCE record you are using. Sorry friend I forgot to mention the field name. Anyhow you found it.

Best wishes...

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds