Article View: comp.sys.ibm.as400.misc
Article #43Java for OS/390 SAF Interface help. What exactly are resourceType and resourceName?
From: Andy Lai
Date: Thu, 03 Apr 2003 00:34
Date: Thu, 03 Apr 2003 00:34
26 lines
2161 bytes
2161 bytes
Hello, I'm trying the use the SAF interface in order to authenticate a user before accessing a resource in Java. Here is the SAF information. http://www-1.ibm.com/servers/eserver/zseries/software/java/security.html In the com.ibm.os390.security package, PlatformAccessControl.checkPermission() takes strings of resourceType and resourceName. However, I'm not able to find what strings it is looking for in google as well as the IBM website or documents. The only thing I found in SAF javaDoc is that checkPermission calls the OS/390 services function __check_resource_auth_np(), which takes security_class (1-8 chars) and a entity_name (1-246 chars) as arguments. However, I'm also unable to find information about these two strings. Since the Java SAF is only a wrapper, apparently resourceType can be mapped to security_class and resourceName can be mapped to entity_name. Do anyone know anything more about the Java SAF Apis? Any help is appreciated. Thanks, Andy
Technical Details
Message-ID:
<d2e7d2dd.0304021634.2b28c92@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd4af,add1b634d4551f38,start X-Google-Attributes: gidfd4af,public X-Google-Thread: 1077ec,add1b634d4551f38,start X-Google-Attributes: gid1077ec,public X-Google-Thread: 10a146,add1b634d4551f38,start X-Google-Attributes: gid10a146,public X-Google-Thread: 10d15b,add1b634d4551f38,start X-Google-Attributes: gid10d15b,public X-Google-ArrivalTime: 2003-04-02 16:34:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: seamonster76@yahoo.com (Andy Lai) Newsgroups: comp.sys.ibm.as400.misc,comp.lang.java.programmer,comp.lang.cobol,bit.listserv.ibm-main Subject: Java for OS/390 SAF Interface help. What exactly are resourceType and resourceName? Date: 2 Apr 2003 16:34:03 -0800 Organization: http://groups.google.com/ Lines: 26 Message-ID: <d2e7d2dd.0304021634.2b28c92@posting.google.com> NNTP-Posting-Host: 12.108.188.134 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1049330043 27327 127.0.0.1 (3 Apr 2003 00:34:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Apr 2003 00:34:03 GMT