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

  • by Robert Heidasch, Chief Innovation and Technology Lead, 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 is the chief innovation and technology lead in the global Accenture Technology Platform, which is responsible for SAP Leonardo and the new digital technology defining business value and driving the digital transformation of complex enterprise solution for Accenture diamond and strategic clients. Before that he was responsible as innovation and solution lead for the design and architecture of new business applications developed jointly by Accenture and SAP based on the newest SAP and non-SAP technology. Robert is the Accenture certified Senior Digital Architect and Senior Technology Architect. He is coauthor and trainer of a couple of SAP technology-related trainings for the in-memory platform and architecture of new business applications (e.g., SAP HANA, SAP Cloud Platform, and SAP Leonardo applications for solution architects and technical architects, all of which were provided by Accenture in Europe, the US, and Asia). Robert has more than 23 years’ experience designing and developing IT systems. He published several technical and business articles about SOA, SAP NetWeaver and its integration with non-SAP systems (e.g. Microsoft, Oracle, etc.), and SAP HANA technology. He is also an inventor of 38 patents in the US in the area of in-memory technology, artificial intelligence and machine learning, security, semantics, and SOA. He is a frequent speaker in international business conferences and SAP Forum. He is a subject matter expert in customer projects worldwide and has extended experience in team leadership in Europe, the US, and India.

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.