HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)
a
acps(3) acps(3)
Credential Types
ACPS_CRED_KERBTICKET
Kerberos ticket encoded in ASN.1 DER.
ACPS_CRED_PASSWORD
Cleartext password.
ACPS_CRED_PIN
Cleartext pin represented as a string.
ACPS_CRED_SAML
SAML credential assertion.
ACPS_CRED_X509CERT
Base64 ASCII encoded certificate.
Subject Attributes
ACPS_SUBATTR_ASSIGNEDROLES
Comma-delineated list of (active) roles associated with the subject.
ACPS_SUBATTR_GECOS
The GECOS information associated with the subject, as defined in the
passwd file or other Name Services Switch
’passwd’ repository.
ACPS_SUBATTR_GROUPS
Comma-delineated list of groups associated with the subject.
ACPS_SUBATTR_SHELL
The shell associated with the subject, as defined in the passwd file or
other NSS
’passwd’ repository.
Operation Types
ACPS_OP_BASIC Literal encoded operation string.
ACPS_OP_DOTHEIRARCHICAL
Hierarchically encoded operation string using "." as the separator.
Object Types
ACPS_OBJ_CIM28 CIM version 2.8 object representation encoded in XML.
ACPS_OBJ_FILEPATH
File object encoded as a path.
ACPS_OBJ_GENERIC Object encoded as a generic string with no additional interpretation.
ACPS_OBJ_URI Object encoded in uri syntax.
Environment Attributes
CPS_ENVATTR_COMPARTMENT
Compartment tag associated with the access control request. The
interpretation of "associated" is left to the application.
RETURN VALUE
ACPS_ALLOW The requested access was granted. This return code is only returned
as a result of checkauth() requests.
ACPS_CONFIG_ERROR
The ACPS is configured incorrectly. This might be the result of a syn-
tactic error in the
acps.conf file.
ACPS_DENY The requested access was not granted. This return code is only
returned as a result of checkauth() requests.
ACPS_GEN_ERROR The requested operation failed. This is the default error code for any
operation when a more specific error code does not apply. When this
is returned as the result of a checkauth() call , the application
should not allow access to the specified resource.
ACPS_MEMORY_ERROR The requested operation failed as a result of an error allocating or de-
allocating memory.
ACPS_NEED_AUTHENTICATION The requested access was denied as the result of the lack of a neces-
sary credential. After the requested credential is supplied, the appli-
cation can call checkauth() again, which might result in an allow.
If the application cannot supply the necessary credential, it should
treat this result as equivalent to an ACPS_DENY.
ACPS_NOINFO The repository has no access control information on the user. This
return code is only returned as a result of acpm_checkauth()
requests and is never returned to an application.
ACPS_SUCCESS The requested operation was successful. This is never returned as the
result of a checkauth() request.
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 89