SAP ABAP Class CL_SPNEGO_RUNTIME (Runtime class for SPNego called by ICF)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC-LGN (Application Component) Authentication and SSO
     SPNEGO (Package) SPNego
Properties
Class CL_SPNEGO_RUNTIME  
Short Description Runtime class for SPNego called by ICF    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPNEGO   SPNego 
Created 20120619   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SPNEGO_RUNTIME has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_HTTP_SERVER 20120621 HTTP Framework (iHTTP) HTTP Server
2 CL_HTTP_SERVER_NET 20120621 Derived HTTP Server Class for Network Communication
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 NEGOTIATE Constant Public Type reference (TYPE) STRING 'Negotiate' Value of WWW-Authenticate Header for SPNego Authentication 20130122
2 WWW_AUTHENTICATE Constant Public Type reference (TYPE) STRING 'WWW-Authenticate' WWW-Authenticate Header 20130122
Methods
# Method Level Visibility Method type Description Created on
1 AUTHENTICATE Static method Private Method Authenticate the HTTP request with an SPNego token 20120620
2 IS_APPLICABLE Static method Public Method Check whether ICF service can use SPNego authentication 20120619
3 IS_CONFIGURED Static method Public Method Check whether the SPNego Library and Keytab are configured 20130129
4 RENDER_TOKEN_REQUEST Static method Private Method Set header WWW-Authenticate: Negotiate to HTTP response 20120628
Events
Class CL_SPNEGO_RUNTIME has no event.
Types
Class CL_SPNEGO_RUNTIME has no local type.
Method Signatures

Method AUTHENTICATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_AUTH_RC Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20120620
2 Exporting E_PWDSTATE Call by reference Type reference (TYPE) XUPWDSTATE Status of User Password (Value: -2/-1/0/1/2/3, see doc.) 20120620
3 Importing I_CLIENT Call by reference Type reference (TYPE) MANDT Client 20120620
4 Importing I_HTTP_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20120628
5 Importing I_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20120620
6 Importing I_SPNEGO_TOKEN Call by reference Type reference (TYPE) STRING SPNego Token 20120620
# Exception Resumable Description Created on
1 CX_PERSONALIZE_SESSION Exception class for authentication methods (caller problems) 20130513

Method IS_APPLICABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CLIENT Call by reference Type reference (TYPE) SYMANDT Client ID of Current User 20120723
2 Importing I_HTTP_REQUEST Call by reference Object reference (TYPE REF TO) IF_HTTP_REQUEST HTTP Framework (iHTTP) HTTP Request 20120629
3 Returning R_APPLICABLE Value transfer Type reference (TYPE) ABAP_BOOL 20120619

Method IS_APPLICABLE on class CL_SPNEGO_RUNTIME has no exception.

Method IS_CONFIGURED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_CONFIGURED Value transfer Type reference (TYPE) ABAP_BOOL Is SPNego library configured and KeyTab available? 20130129

Method IS_CONFIGURED on class CL_SPNEGO_RUNTIME has no exception.

Method RENDER_TOKEN_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HTTP_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20120628

Method RENDER_TOKEN_REQUEST on class CL_SPNEGO_RUNTIME has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740