2015 Apr 21 3:09 PM
Hi,
We're implementing a check in an http handler which should only be executed once for an ICF security session.
HTTP Security Session Management is activated in the system (ref Activating HTTP Security Session Management on AS ABAP - User Authentication and Single Sign-On - SA... )
We need to get a unique id for the security session so that we can store a value indication that the check has been performed.
The HTTP handler where our code is running has as input an object implementing the IF_HTTP_SERVER interface (runtime class is CL_HTTP_SERVER_NET).
Here's our findings so far:
Any input?
Regards
Dagfinn
2015 Apr 21 5:21 PM
Have you tried
data ls_context type security_context.
try.
call method cl_http_security_session_admin=>get_current_session_context
receiving
context = ls_context.
catch cx_http_security_session_admin .
endtry.
2015 Apr 21 5:21 PM
Have you tried
data ls_context type security_context.
try.
call method cl_http_security_session_admin=>get_current_session_context
receiving
context = ls_context.
catch cx_http_security_session_admin .
endtry.
2015 Apr 21 7:11 PM