SAP ABAP Class CL_SPNEGO_KERNEL (Kernel methods for SPNego)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-LGN (Application Component) Authentication and SSO
⤷
SPNEGO (Package) SPNego

⤷

⤷

Properties
Class | CL_SPNEGO_KERNEL | |
Short Description | Kernel methods for SPNego | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SPNEGO | SPNego |
Created | 20120404 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SPNEGO_KERNEL has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_KRB_CONFIG_UI | 20130103 | API for Kerberos Configuration UIs | |
2 | CL_KRB_KEYTAB | 20120724 | KeyTab Implemenation based on Kerberos Library | |
3 | CL_KRB_KEYTAB_SECSTORE | 20120813 | KeyTab Implementation based on Kerberos Library | |
4 | CL_SPNEGO_RUNTIME | 20120620 | Runtime class for SPNego called by ICF |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | I | 0 | Kerberos library and KeyTab loaded | 20130122 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | I | 1 | Kerberos library loaded and KeyTab not available | 20130122 | |
3 | ![]() |
Constant | Private | Type reference (TYPE) | I | 2 | Kerberos library not loaded | 20130122 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Add SPN to keytab (requires SPNego library) | 20120516 |
2 | ![]() |
Static method | Private | Method | Authenticate the HTTP request with an SPNego token | 20120628 |
3 | ![]() |
Static method | Private | Method | Delete entries from keytab (requires SPNego library) | 20120516 |
4 | ![]() |
Static method | Private | Method | Get textual description (English only) for algorithm ID | 20121220 |
5 | ![]() |
Static method | Private | Method | 0: library not loaded, 1: library loaded, 2: keytab loaded | 20120628 |
6 | ![]() |
Static method | Private | Method | Get list of algorithms supported by Kerberos library | 20121220 |
7 | ![]() |
Static method | Private | Method | Insert entries of one keytab into another one (requires lib) | 20120516 |
8 | ![]() |
Static method | Private | Method | Parses binary keytab (requires SPNego library) | 20120516 |
9 | ![]() |
Static method | Private | Method | Read binary keytab from Secure Storage | 20120404 |
10 | ![]() |
Static method | Private | Method | Write binary keytab to Secure Storage | 20120404 |
Events
Class CL_SPNEGO_KERNEL has no event.
Types
Class CL_SPNEGO_KERNEL has no local type.
Method Signatures
Method _ADD_SPN_TO_KEYTAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ADD_MODE | Call by reference | Type reference (TYPE) | KRB_KEYTAB_ADD_MODE | IF_KRB_KEYTAB=>CO_KEYTAB_ADD_APPEND | 20120516 | ||
2 | ![]() |
ALGORITHMS | Call by reference | Type reference (TYPE) | KRB_KEYTAB_ALGORITHM_T | 20120516 | |||
3 | ![]() |
KEYTAB | Value transfer | Type reference (TYPE) | XSTRING | 20120516 | |||
4 | ![]() |
KEYTAB_IN | Call by reference | Type reference (TYPE) | XSTRING | 20120516 | |||
5 | ![]() |
PASSWORD | Call by reference | Type reference (TYPE) | KRB_SPN_PASSWORD | 20120516 | |||
6 | ![]() |
SPN | Call by reference | Type reference (TYPE) | KRB_KEYTAB_SPN | 20120516 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120516 |
Method _AUTHENTICATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
AUTH_RC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20120628 | ||
2 | ![]() |
CLIENT | Call by reference | Type reference (TYPE) | MANDT | Client | 20120628 | ||
3 | ![]() |
LANGUAGE | Call by reference | Type reference (TYPE) | LANGU | Language Key | 20120628 | ||
4 | ![]() |
PWDSTATE | Call by reference | Type reference (TYPE) | XUPWDSTATE | Status of User Password (Value: -2/-1/0/1/2/3, see doc.) | 20120628 | ||
5 | ![]() |
SPNEGO_TOKEN | Call by reference | Type reference (TYPE) | SPNEGO_TOKEN | SPNego Token | 20120628 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for authentication methods (caller problems) | 20120705 |
Method _DELETE_SPN_FROM_KEYTAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ALGORITHMS | Call by reference | Type reference (TYPE) | KRB_KEYTAB_ALGORITHM_T | 20120516 | |||
2 | ![]() |
KEYTAB | Value transfer | Type reference (TYPE) | XSTRING | 20120516 | |||
3 | ![]() |
KEYTAB_IN | Call by reference | Type reference (TYPE) | XSTRING | 20120516 | |||
4 | ![]() |
SPN | Call by reference | Type reference (TYPE) | KRB_KEYTAB_SPN | 20120516 | |||
5 | ![]() |
VERSION | Call by reference | Type reference (TYPE) | KRB_KEYTAB_VERSION | -1 | 20120516 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120516 |
Method _GET_ALGORITHM_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ALGORITHM_ID | Call by reference | Type reference (TYPE) | KRB_KEYTAB_ALGORITHM | Kerberos Encryption Algorithm Id | 20121220 | ||
2 | ![]() |
ALGORITHM_NAME | Value transfer | Type reference (TYPE) | KRB_KEYTAB_ALGORITHM_NAME | Kerberos Encryption Algorithm Name | 20121220 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for Kerberos KeyTab | 20121221 |
Method _GET_RUNTIME_STATUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STATUS | Value transfer | Type reference (TYPE) | SPNEGO_RUNTIME_STATUS | 0: library not loaded, 1: library loaded, 2: keytab loaded | 20120628 |
Method _GET_RUNTIME_STATUS on class CL_SPNEGO_KERNEL has no exception.
Method _GET_SUPPORTED_ALGORITHMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ALGORITHMS | Call by reference | Type reference (TYPE) | KRB_KEYTAB_ALGORITHM_T | Kerberos Algorithm List | 20121220 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for Kerberos KeyTab | 20121221 |
Method _MERGE_KEYTABS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
KEYTAB | Value transfer | Type reference (TYPE) | XSTRING | 20120516 | |||
2 | ![]() |
KEYTAB1_IN | Call by reference | Type reference (TYPE) | XSTRING | 20120516 | |||
3 | ![]() |
KEYTAB2_IN | Call by reference | Type reference (TYPE) | XSTRING | 20120516 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120516 |
Method _PARSE_KEYTAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
KEYTAB | Call by reference | Type reference (TYPE) | XSTRING | 20120516 | |||
2 | ![]() |
KEYTAB_PARSED | Value transfer | Type reference (TYPE) | KRB_KEYTAB_T | 20120516 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120516 |
Method _READ_KEYTAB_FROM_SECSTORE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
KEYTAB | Value transfer | Type reference (TYPE) | XSTRING | Binary Kerberos KeyTab | 20120404 | ||
2 | ![]() |
TESTMODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag for Unit Test Operation | 20120404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for Kerberos KeyTab | 20120426 |
Method _WRITE_KEYTAB_TO_SECSTORE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
KEYTAB | Call by reference | Type reference (TYPE) | XSTRING | Binary Kerberos KeyTab | 20120404 | ||
2 | ![]() |
TESTMODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag for Unit Test Operation | 20120404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for Kerberos KeyTab | 20120426 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 732 |