Create a Login Module to Set Up Authentication in SAP NetWeaver AS Java

  • by Robert Heidasch, Senior Manager/Senior Principal, Accenture
  • December 2, 2009
Download myAppl-security-jaas code for creating a login module.

As part of the process described in the article "Secure Your Enterprise Application with Authentication in SAP NetWeaver Web AS Java" you need to create a login module.

In the login module, implement the following methods that are defined as abstract methods in AbstractLoginModule (see SAP NetWeaver Developer Studio creates them automatically (as empty methods) in your login modules:

  • initialize(): Contains the login module initialization. The container calls this method each time the user authentication process starts.
  • login(): Implements the user login process
  • commit(): Commits the user login
  • abort(): Aborts the user login
  • logout(): Implements the user logout process

Robert Heidasch

Robert Heidasch is senior manager/senior principal in the Accenture & SAP Business Solution Group, which designs and develops new business solutions and applications provided jointly by Accenture and SAP based on the newest SAP technology. He is co-author and trainer of a couple of SAP technology-related areas (e.g., SAP HANA solution architect, SAP HANA technical architect, Business Suite on SAP HANA, and SAP HANA as a development platform delivered in Europe, US, and Asia). Robert has more than 21 years’ experience designing and developing IT systems. He has published several technical and business articles about SOA, SAP NetWeaver and its integration with non-SAP systems (e.g., Microsoft and Oracle), and SAP HANA technology. Robert is also an inventor of 18 patents granted in the US--for example, Ranking in Cascading Learning Systems, Learnable Contextual Network, Machine Learning for a Memory-Based Database, Modular Secure Data Transfer, Managing Software Component Versions within a Service Oriented Architecture, Machine Learning for a Memory-based Database, Adaptive and Secure Modular Connection, and Asynchrony Debugging Using Web Services Interface.

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.