SAP ABAP Class CL_OAUTH2_S_PROT_SAML2 (OAuth2 Protocol SAML2 Grant Type)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SOAUTH2 (Package) OAuth2
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_OAUTH2_S_PROTOCOL OAuth Grant Type Implementation 20111019
Properties
Class CL_OAUTH2_S_PROT_SAML2  
Short Description OAuth2 Protocol SAML2 Grant Type    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOAUTH2   OAuth2 
Created 20111011   SAP 
Last change 20130531   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)
2 IF_OAUTH2 Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_OAUTH2_S_PROTOCOL OAuth Grant Type Implementation 20111019
Friends
# Friend Modeled only Created on Description
1 CL_OAUTH2_S_TOKEN_ENDPOINT 20111012 HTTP Framework (iHTTP) HTTP Request Handler for OAuth2
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_CLIENT Static Attribute Private Object reference (TYPE REF TO) CL_OAUTH2_S_CLIENT OAuth2 Client 20120719
2 M_MANDT Static Attribute Private Type reference (TYPE) SY-MANDT Client ID of Current User 20120717
Methods
# Method Level Visibility Method type Description Created on
1 BASE64URL_DECODE Static method Private Method 20111107
2 CHECK_CLIENT_SAML_ACTIVE Static method Private Method 20120119
3 CHECK_CLIENT_TYPE Static method Private Method 20120719
4 READ_REQUEST_PARAMETERS Static method Private Method 20111011
5 VALIDATE_BEARER_OAUTH Static method Private Method 20120113
6 VALIDATE_BEARER_WEB_SSO Static method Private Method 20120113
Events
Class CL_OAUTH2_S_PROT_SAML2 has no event.
Types
Class CL_OAUTH2_S_PROT_SAML2 has no local type.
Method Signatures

Method BASE64URL_DECODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BASE64URL Value transfer Type reference (TYPE) STRING 20111107
2 Returning R_XSTRING Value transfer Type reference (TYPE) XSTRING 20111107
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20111107

Method CHECK_CLIENT_SAML_ACTIVE Signature

Method CHECK_CLIENT_SAML_ACTIVE on class CL_OAUTH2_S_PROT_SAML2 has no parameter.
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120119

Method CHECK_CLIENT_TYPE Signature

Method CHECK_CLIENT_TYPE on class CL_OAUTH2_S_PROT_SAML2 has no parameter.
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120719

Method READ_REQUEST_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SCOPE Call by reference Type reference (TYPE) STRING_TABLE Table of Strings 20111011
2 Exporting E_ASSERTION Call by reference Type reference (TYPE) STRING 20111011
3 Exporting E_CLIENT_ID Call by reference Type reference (TYPE) STRING 20111011
4 Importing I_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20111011
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20111011

Method VALIDATE_BEARER_OAUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CLIENT_ID Call by reference Type reference (TYPE) STRING 20120113
2 Exporting E_RO_USER Call by reference Type reference (TYPE) XUBNAME User Name in User Master Record 20120113
3 Importing IR_CLIENT Call by reference Object reference (TYPE REF TO) CL_OAUTH2_S_CLIENT OAuth2 Client 20120113
4 Importing I_ASSERTION_X Call by reference Type reference (TYPE) XSTRING 20120113
5 Importing I_REQUIRE_CLNT_ID Call by reference Type reference (TYPE) OA2_SG_GT_SAMLBEARER_REQ_CLNT 20121024
6 Importing I_TOKEN_ENDPOINT_URL Call by reference Type reference (TYPE) STRING 20120113
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120113

Method VALIDATE_BEARER_WEB_SSO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CLIENT_ID Call by reference Type reference (TYPE) STRING 20120113
2 Exporting E_RO_USER Call by reference Type reference (TYPE) XUBNAME User Name in User Master Record 20120113
3 Importing IR_CLIENT Call by reference Object reference (TYPE REF TO) CL_OAUTH2_S_CLIENT OAuth2 Client 20120113
4 Importing I_ASSERTION_X Call by reference Type reference (TYPE) XSTRING 20120113
5 Importing I_TOKEN_ENDPOINT_URL Call by reference Type reference (TYPE) STRING 20120113
# Exception Resumable Description Created on
1 CX_OAUTH2_EXCEPTION OAuth2 Exception 20120113
History
Last changed by/on SAP  20130531 
SAP Release Created in 732