Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

IBM Passticket Algorithm

Thread view: 
PMA - 27 Apr 2006 18:57 GMT
Hi, all

I am looking for an algorithm (whatever language suche a C/C++/Java) to
make a Passticket password implementation for an IBM MVS RACF login.

If any one knows ...

Regards
Oliver Wong - 27 Apr 2006 20:15 GMT
> I am looking for an algorithm (whatever language suche a C/C++/Java) to
> make a Passticket password implementation for an IBM MVS RACF login.

When I google for "Passticket IBM MVS RACF", I get
http://www.os390-mvs.freesurf.fr/passtkt.htm

   - Oliver
PMA - 28 Apr 2006 08:18 GMT
> When I google for "Passticket IBM MVS RACF", I get
> http://www.os390-mvs.freesurf.fr/passtkt.htm

Thanx I already got it it does not really help ...

Philippe
Oliver Wong - 28 Apr 2006 15:30 GMT
>> When I google for "Passticket IBM MVS RACF", I get
>> http://www.os390-mvs.freesurf.fr/passtkt.htm
>
> Thanx I already got it it does not really help ...

   Why not? You said you wanted "an algorithm (whatever language suche a
C/C++/Java) to make a Passticket". The page has such an algorithm, though I
don't recognize what language it's written in:

<quote>
* PASSTICKET GENERATION
GEN      DS     0H
        SETAMOD 31
        MODESET KEY=ZERO,MODE=SUP
        L      R15,16                 Get pointer to CVT
        USING  CVT,R15                Make CVT addressable
        L      R15,CVTRAC             Get pointer to RACF CVT (RCVT)
        USING  RCVT,R15               Make RCVT addressable
        L      R15,RCVTPTGN           Get pointer to PassTicket rtn
        CALL   (15),(USERID,APPNAME)  Call PassTicket generator
        ST     R15,RC                          SAVE RETURN-CODE
        STM    R0,R1,PTKTFLD         Store PassTicket in PTKTFLD
        MODESET KEY=NZERO,MODE=PROB
        SETAMOD 24
* DATA
        DS    0D
PTKTFLD  DS    CL8
USERID   DS    0CL9            Userid Structure:
USERIDL  DS    AL1(7)          ->   NUMBER OF USERID CHARACTER
USERIDN  DS    CL8'IBMUSER '
APPNAME  DS    0CL9            APPL Name Structure:
APPNAMEL DS    AL1(4)          ->   NUMBER OF APPNAME CHARACTER
APPNAMEN DS    CL8'IMS1    '
RC       DS    F               Return Code
        LTORG
        CVT DSECT=YES,LIST=NO
        ICHPRCVT

*----------------------------------------------------------------------*
* Return Code     +       Description                                  *
*-----------------+----------------------------------------------------*
* 0                 Successful completion. The resulting session key is*
*                   contained in general purpose registers 0 and 1.    *
*-----------------+----------------------------------------------------*
* 4                 Incorrect PassTicket                               *
*-----------------+----------------------------------------------------*
* 8                 No PTKTDATA profile found for the application      *
*-----------------+----------------------------------------------------*
* C                 No task or address space ACEE found, and the ACEE  *
*                   pointer was not specified on the input parameter   *
*                   list.                                              *
*-----------------+----------------------------------------------------*
* 10                Caller is not authorized                           *
*-----------------+----------------------------------------------------*
* 14                The RACF PTKTDATA class is not active              *
*-----------------+----------------------------------------------------*
</quote>

   - Oliver
PMA - 28 Apr 2006 20:22 GMT
>  Why not? You said you wanted "an algorithm (whatever language suche a
> C/C++/Java) to make a Passticket". The page has such an algorithm, though I
> don't recognize what language it's written in:

This is written in mainframe (MVS) assembly language, so it does not
really help ... because this code only calls a mainframe service that
retrieves a passticket ...

Thanx


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.