Package dev.galasa.zossecurity
Interface IZosPreDefinedProfile
public interface IZosPreDefinedProfile
Represents a predefined profile, which userids can be permitted to.
Only "new" eJAT controlled userids will be allowed to be added/deleted. Existing
userids, members and uacc can not be changed
This can only be used with the v2 security manager
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the class name this profile is defined ingetName()
Retrieve the profile namevoid
setAccess
(IZosUserid userid, RACFAccessType access) Grant access to this profile to a useridvoid
setAccess
(IZosUserid userid, RACFAccessType access, boolean refresh) Grant access to this profile to a userid or group
-
Method Details
-
getClassName
String getClassName()Retrieve the class name this profile is defined in- Returns:
- The class name
-
getName
String getName()Retrieve the profile name- Returns:
- The profile name
-
setAccess
Grant access to this profile to a userid- Parameters:
userid
- - The userid to receive the accessaccess
- - The access level- Throws:
ZosSecurityManagerException
-
setAccess
void setAccess(IZosUserid userid, RACFAccessType access, boolean refresh) throws ZosSecurityManagerException Grant access to this profile to a userid or group- Parameters:
userid
- - The userid to receive the accessaccess
- - The access levelrefresh
- - issue SETROPTS REFRESH- Throws:
ZosSecurityManagerException
-