Retrieving session security information
The CtsSecurity.SSLSession and CtsSecurity.SSLSessionInfo classes
allow a client application to determine whether SSL is used on connections
from a proxy to the server, and if so, to retrieve the SSL session
settings and display them to the user. For a list of the properties
for which you can retrieve values, see the EAServer interface
repository documentation for SessionInfo in a Web browser by connecting
to your server at http://hostname:portnumber/ir/CtsSecurity__SSLSessionInfo.html.
1 |
long rc<br />string stmp<br /><br />CTSSecurity_sslSessionInfo mySessionInfo<br />rc = thesessioninfo._narrow( mySessionInfo, &<br /> "SessionInfo" )<br />MessageBox( str_header, "Narrow: rc=" + string(rc))<br /><br />sTmp = "Properties"<br />sTmp = "~nVersion: "<br />stmp += mySessionInfo.getProperty( "Version" )<br />sTmp = "~nHost: "<br />stmp += mySessionInfo.getProperty( "host" )<br /><br />stmp += "~nport: "<br />stmp += mySessionInfo.getProperty( "port" )<br />stmp += "~nciphersuite: "<br />stmp += mySessionInfo.getProperty( "ciphersuite" )<br />stmp += "~nCertificateLabel: "<br />stmp += mySessionInfo.getProperty( "certificateLabel" )<br />stmp += "~nUserData: "<br />stmp += mySessionInfo.getProperty( "UserData" )<br />stmp += "~ntokenName: "<br />stmp += mySessionInfo.getProperty( "tokenName" )<br />stmp += "~nuseEntrustID: "<br />stmp + = mySessionInfo.getProperty( "useEntrustID" )<br />MessageBox( str_header, stmp) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest