Uses of Class
dev.galasa.zossecurity.ZosSecurityManagerException
-
Uses of ZosSecurityManagerException in dev.galasa.zossecurity
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
Modifier and TypeMethodDescriptionvoid
Add a new member to this grouping profilevoid
Add a new member to this grouping profileIZosSecurity.allocateCicsClassSet()
Allocate a full CICS Security Class Set on the run image.IZosSecurity.allocateUserid()
Allocate a new userid on the run image.IZosCicsClassSet.allowAllAccess()
Creates a generic '*' profile with a UACC of ALTER on all CICS security classes so that security can be switched on and everyone will have access.IZosCicsClassSet.allowAllAccess
(boolean refresh) Creates a generic '*' profile with a UACC of ALTER on all CICS security classes so that security can be switched on and everyone will have access.void
IZosProfile.alterUacc
(RACFAccessType newUacc) Amend the UACC of this profilevoid
IZosProfile.alterUacc
(RACFAccessType newUacc, boolean refresh) Amend the UACC of this profilevoid
IZosKeyring.connectCertificate
(IZosCertificate certificate) Connect this keyring to a certificatevoid
IZosKeyring.connectCertificate
(IZosCertificate certificate, boolean defaultCertificate) Connect this keyring to a certificatevoid
IZosKeyring.connectCertificate
(IZosCertificate certificate, boolean defaultCertificate, RACFCertificateType usage) Connect this keyring to a certificatevoid
IZosKeyring.connectCertificate
(String userid, String label) Connect this keyring to a certificate which outside the control of Galasavoid
IZosKeyring.connectCertificate
(String userid, String label, boolean defaultCertificate) Connect this keyring to a certificate which outside the control of Galasavoid
IZosCertificate.connectKeyring
(IZosKeyring keyring) Connect this certificate to a RACF keyringvoid
IZosCertificate.connectKeyring
(IZosKeyring keyring, boolean defaultCertificate) Connect this certificate to a RACF keyringvoid
IZosCertificate.connectKeyring
(IZosKeyring keyring, boolean defaultCertificate, RACFCertificateType usage) Connect this certificate to a RACF keyringvoid
IZosUserid.connectToGroup
(String group) Connect this userid to a groupvoid
KerberosInitiator.create()
Create the security context by logging into the KDC as the client and populating the context from the subjectIZosSecurity.createCertificate
(IZosUserid userid, String label, KeyStore keyStore, String password, RACFCertificateType type) Import a certificate into RACF.IZosSecurity.createCertificate
(IZosUserid userid, String label, KeyStore keyStore, String password, RACFCertificateType type, RACFCertificateTrust trust) Import a certificate into RACF.IZosSecurity.createCertificate
(String image, IZosUserid userid, String label, KeyStore keyStore, String password, RACFCertificateType type) Import a certificate into RACF.IZosSecurity.createCertificate
(String image, IZosUserid userid, String label, KeyStore keyStore, String password, RACFCertificateType type, RACFCertificateTrust trust) Import a certificate into RACF.IZosSecurity.createCertificate
(String image, String userid, String label, KeyStore keyStore, String password, RACFCertificateType type) Import a certificate into RACF.IZosSecurity.createCertificate
(String image, String userid, String label, KeyStore keyStore, String password, RACFCertificateType type, RACFCertificateTrust trust) Import a certificate into RACF.IZosSecurity.createCertificate
(String userid, String label, KeyStore keyStore, String password, RACFCertificateType type) Import a certificate into RACF.IZosSecurity.createCertificate
(String userid, String label, KeyStore keyStore, String password, RACFCertificateType type, RACFCertificateTrust trust) Import a certificate into RACF.IZosSecurity.createIdMap
(IZosUserid userid, String label, String distributedID, String registry) Create a new Id Map for a userid.IZosSecurity.createIdMap
(String userid, String label, String distributedID, String registry) Create a new Id Map for a userid.IZosSecurity.createKerberosClientPrincipal
(IZosKerberosPrincipal servicePrincipal, IZosUserid clientUserid) Create a Kerberos client principal.IZosSecurity.createKerberosPrincipal
(IZosUserid serviceUserid, String realm) Create a Kerberos principal, generally to be used as a service principal inIZosSecurity.createKerberosClientPrincipal(IZosKerberosPrincipal, IZosUserid)
IZosSecurity.createKeyring
(IZosUserid userid, String label) Create a new Keyring for a userid on the run image.IZosSecurity.createKeyring
(String userid, String label) Create a new Keyring for a userid on the run image.IZosSecurity.createProfile
(String className, String name, RACFAccessType uacc) Create a new profile on the run image.IZosSecurity.createProfile
(String className, String name, RACFAccessType uacc, boolean refresh) Create a new profile on the specified image/sysplex.IZosSecurity.createProfile
(String image, String className, String name, RACFAccessType uacc) Create a new profile on the specified image/sysplex.IZosSecurity.createProfile
(String image, String className, String name, RACFAccessType uacc, boolean refresh) Create a new profile on the specified image/sysplex.IZosSecurity.createProfile
(String image, String className, String name, Map<String, String> args, RACFAccessType uacc, boolean refresh) Create a new profile on the specified image/sysplex.IZosSecurity.createProfile
(String className, String name, Map<String, String> args, RACFAccessType uacc) IZosCicsClassSet.defineGroupProfile
(ZosCicsClassResource classType, String profileName, RACFAccessType uacc, List<String> members) Create a new Grouping profile within this setIZosCicsClassSet.defineGroupProfile
(ZosCicsClassResource classType, String profileName, RACFAccessType uacc, List<String> members, boolean refresh) Create a new Grouping profile within this setIZosCicsClassSet.defineMemberProfile
(ZosCicsClassResource classType, String profileName, RACFAccessType uacc) Create a new Member profile within this setIZosCicsClassSet.defineMemberProfile
(ZosCicsClassResource classType, String profileName, RACFAccessType uacc, boolean refresh) Create a new Member profile within this setvoid
IZosCertificate.delete()
Delete the certificate from RACFvoid
IZosIdMap.delete()
Delete this Id Mapvoid
IZosKeyring.delete()
Delete this keyringvoid
IZosProfile.delete()
Delete this profilevoid
IZosProfile.delete
(boolean refresh) Delete this profilevoid
IZosUserid.delete()
Delete the userid.void
IZosSecurity.deleteCertificate
(IZosCertificate certificate) Delete the certificate.void
IZosSecurity.deleteIdMap
(IZosIdMap idmap) Delete the idmap.void
IZosSecurity.deleteKeyring
(IZosKeyring keyring) Delete the keyring.void
IZosCicsClassSet.deleteProfile
(IZosCicsProfile profile) Delete a profile.void
IZosCicsClassSet.deleteProfile
(IZosCicsProfile profile, boolean refresh) Delete a profile.void
IZosSecurity.deleteProfile
(IZosProfile profile) Delete the profile.void
IZosSecurity.deleteProfile
(IZosProfile profile, boolean refresh) Delete the profile.void
IZosCertificate.free()
Free the certificate.void
IZosCicsClassSet.free()
Free the CICS class set.void
IZosIdMap.free()
Free the Id Map.void
IZosKerberosPrincipal.free()
Free the principal.void
IZosKeyring.free()
Free the keyring.void
IZosProfile.free()
Free the profile.void
IZosUserid.free()
Free the userid.void
IZosSecurity.freeCertificate
(IZosCertificate certificate) Free this certificate.void
IZosSecurity.freeCicsClassSet
(IZosCicsClassSet classSet) Free a CICS Security Class Set.void
Free the id map.void
IZosSecurity.freeKeyring
(IZosKeyring keyring) Free the keyring.void
IZosSecurity.freePrincipal
(IZosKerberosPrincipal principal) Free a Kerberos Principal created for this testvoid
IZosSecurity.freeProfile
(IZosProfile profile) Free the profile.void
IZosSecurity.freeUserid
(IZosUserid resource) Manually free an allocated userid.IZosSecurity.generateSelfSignedCertificate
(String alias, String distinguishedName, int keySize, int durationDays, String keyAlgorithm, String signatureAlgoritm) Generate a new Self-Signed Certificate with private/public key and return it in a PKCS12 keystore for use in RACF.IZosSecurity.generateSelfSignedCertificate
(String alias, String distinguishedName, int keySize, int durationDays, String keyAlgorithm, String signatureAlgoritm, boolean certificateAuthority) Generate a new Self-Signed Certificate with private/public key and return it in a PKCS12 keystore for use in RACF.IZosSecurity.generateSignedCertificate
(String alias, String distinguishedName, int keySize, int durationDays, KeyStore signingKeyStore, String signingLabel, String signingPassword) Generate a new Self-Signed Certificate with private/public key and return it in a PKCS12 keystore for use in RACF.IZosSecurity.generateSignedCertificate
(String alias, String distinguishedName, int keySize, int durationDays, KeyStore signingKeyStore, String signingLabel, String signingPassword, boolean certificateAuthority) Generate a new Self-Signed Certificate with private/public key and return it in a PKCS12 keystore for use in RACF.IZosSecurity.getDefaultKerberosDomainController()
Get the default KDC for an imageIZosSecurity.getDefaultKerberosRealm()
Get the default Kerberos realm for an imageIZosSecurity.getRunUserid()
Get the primary run useridIZosCicsClassSet.getSecprfx()
For Shared CICS Classsets this will return the setting for SECPRFX= SIT parameterIZosSecurity.getZosImage()
KerberosInitiator.initiate()
Initiate the security context without a token.KerberosInitiator.initiate
(KerberosToken inToken) Initiate the security context with a token, or without if inToken is null.IZosCertificate.list()
List the certificateIZosKeyring.list()
List the keyringvoid
IZosKeyring.removeCertificate
(IZosCertificate certificate) Remove a certificate from this keyringvoid
IZosKeyring.removeCertificate
(String userid, String label) Remove a non Galasa certificate from this keyringvoid
IZosUserid.removeFromGroup
(String group) Remove this userid from a groupvoid
IZosCertificate.removeKeyring
(IZosKeyring keyring) Remove this certificate from a RACF keyringvoid
IZosUserid.resume()
Resume the useridIZosSecurity.retrieveKerberosToken
(IZosKerberosPrincipal servicePrincipal, IZosKerberosPrincipal clientPrincipal, String kdc) Retrieve a kerberos token from a Kerberos Domain Controller on the host or ip address passed in as kdc, for the clientPrincipal and serverPrincipal passedvoid
IZosUserid.revoke()
Revoke the useridvoid
IZosPreDefinedProfile.setAccess
(IZosUserid userid, RACFAccessType access) Grant access to this profile to a useridvoid
IZosPreDefinedProfile.setAccess
(IZosUserid userid, RACFAccessType access, boolean refresh) Grant access to this profile to a userid or groupvoid
IZosProfile.setAccess
(IZosUserid userid, RACFAccessType access) Grant access to this profile to a useridvoid
IZosProfile.setAccess
(IZosUserid userid, RACFAccessType access, boolean refresh) Grant access to this profile to a useridvoid
IZosProfile.setAccess
(String userid, RACFAccessType access) Grant access to this profile to a userid or groupvoid
IZosProfile.setAccess
(String userid, RACFAccessType access, boolean refresh) Grant access to this profile to a userid or groupvoid
IZosUserid.setPassword
(String password, String passphrase) Set the password and/or the passphrase.void
IZosUserid.setPassword
(String password, String passphrase, boolean expire) Set the password and/or the passphrase, with or without expiryvoid
IZosSecurity.setRunUserid
(IZosUserid user) Set the run useridvoid
Sets the WHEN option for a RACF userid.
Days can be
ANYDAY Specifies that the user can access the system on any day.
WEEKDAYS Specifies that the user can access the system only on weekdays (Monday through Friday).
day ...byte[]
KerberosInitiator.unwrap
(byte[] wrappedMessage) This method will use the context to unwrap a message wrapped on the other side of the contextThis method accepts and returns base64 encoded messages. -
Uses of ZosSecurityManagerException in dev.galasa.zossecurity.spi
Modifier and TypeMethodDescription@NotNull IZosSecurity
IZosSecurityManagerSpi.getZosSecurity
(IZosImage image) Returns a zOS Security instance