Package dev.galasa.zossecurity
Interface IZosProfile
- All Known Subinterfaces:
IZosCicsProfile
public interface IZosProfile
Represents a profile created by this zossec security manager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a new member to this grouping profilevoid
Add a new member to this grouping profilevoid
alterUacc
(RACFAccessType newUacc) Amend the UACC of this profilevoid
alterUacc
(RACFAccessType newUacc, boolean refresh) Amend the UACC of this profilevoid
delete()
Delete this profilevoid
delete
(boolean refresh) Delete this profilevoid
free()
Free the profile.Retrieve 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 useridvoid
setAccess
(String userid, RACFAccessType access) Grant access to this profile to a userid or groupvoid
setAccess
(String 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
-
alterUacc
Amend the UACC of this profile- Parameters:
newUacc
- - The new uacc- Throws:
ZosSecurityManagerException
-
alterUacc
Amend the UACC of this profile- Parameters:
newUacc
- - The new uaccrefresh
- - issue SETROPTS REFRESH- Throws:
ZosSecurityManagerException
-
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- Parameters:
userid
- - The userid to receive the accessaccess
- - The access levelrefresh
- - issue SETROPTS REFRESH- Throws:
ZosSecurityManagerException
-
setAccess
Grant access to this profile to a userid or group- Parameters:
userid
- - The userid to receive the accessaccess
- - The access level- Throws:
ZosSecurityManagerException
-
setAccess
void setAccess(String 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 @Override levelrefresh
- - issue SETROPTS REFRESH- Throws:
ZosSecurityManagerException
-
addMember
Add a new member to this grouping profile- Parameters:
member
- - The member to add- Throws:
ZosSecurityManagerException
-
addMember
Add a new member to this grouping profile- Parameters:
member
- - The member to addrefresh
- - issue SETROPTS REFRESH- Throws:
ZosSecurityManagerException
-
delete
Delete this profile- Throws:
ZosSecurityManagerException
-
delete
Delete this profile- Parameters:
refresh
- - issue SETROPTS REFRESH- Throws:
ZosSecurityManagerException
-
free
Free the profile. This will be performed automatically at the end of the run- Throws:
ZosSecurityManagerException
-