background preloader

Portail

Facebook Twitter

Create and Configure a Login Module - Developing Authentication Enhancements on the AS Java. Use If you need to secure an application you are developing, you can do this using your own login module. Developing your own login module can enable you to maximize customization of authentication to your needs. By the end of this tutorial, you will be able to: Use the SAP NetWeaver Developer Studio to develop your own login module. Deploy the login module to the AS Java. Configure the login module on the AS Java. Prerequisites System, Installed Applications, and Authorizations SAP NetWeaver Developer Studio is installed. Knowledge Java programming language and JAAS authentication model. The following content is not part of SAP product documentation.

SAP Fiori Design Guidelines. Main Workspace: Group: SAP NetWeaver Portal Code Samples. Configuring logout handling. When a user logs out of WebSphere® Portal Express®, a log out from SAP NetWeaver Portal needs to be performed as well. Otherwise, the user session on the SAP NetWeaver Portal remains open until it times out. You can configure automatic log out from SAP NetWeaver Portal when a user logs out of WebSphere Portal Express. To perform this configuration, insert the following JavaScript function into your theme and call it on click of the logout link.

Replace and with the values for your SAP NetWeaver Portal host and port. Replace the variables as follows: Replace this variable with the name of the SSO cookie for your SAP NetWeaver Portal. your_sap_portal_host Replace this variable with the fully qualified URL to your SAP NetWeaver Portal. port Replace this variable with the port of your SAP NetWeaver Portal. JavaScript Code for Portal Logoff. Howto decode - decrypt MYSAPSSO2 Ticket with na. Howto decode - decrypt MYSAPSSO2 Ticket with native JAVA - (No JNI) I need to decode a Portal Ticket for a non SAP System. I was searching the SAPNET and SDN but there was no matching Sample - nor a detailed HOWTO. For this Reason - to save others - hours of searching i will post this Sample. It is a plain java solution without overhead of the JNI Interface. Following the Steps as given - you are able to decode a ticket send from your Browser to this Java program. If the program receives a http request it will parse the request for the MYSAPSSO2 Cookie.

Console. Copy the following jar files from your local portal installation into the a new directory. (this jars are the neccessary external resources for the java class of this example) \usr\sap\<sid>\JC01\j2ee\cluster\server0\bin\ext\com.sap.security.api.sda\com.sap.security.api.jar \usr\sap\<sid>\JC01\j2ee\cluster\server0\bin\ext\com.sap.security.core.sda\com.sap.security.core.jar \usr\sap\<sid>\JC01\j2ee\cluster\server0\bin\system\logging.jar.

Library - Portal. SAP Community Network Forums: Forum Home.

Portal 7.3