Skip to Content
author's profile photo Former Member
Former Member

Configuring Login Modules on SAP Web AS 640 preview

Hello,

I'm trying to make available the jaas login module HTTPCookieLoginModule.java provided with the SAP TechEd '03 Las Vegas. In the slides it says to place the jar in a folder called additional-lib which isn't included in the SAP Web AS 640 preview so I've guessed and put it in c:\usr\sap\J2E\J200\j2ee\cluster\server0\bin\ext\ (is this correct?)

It then says to add items to library.txt but this file isn't included in the SAP Web AS 640 preview. Is there a different file that needs to be modified?

Is the functionality available in the SAP Web AS 640 preview to use a custom JAAS login module?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 15, 2004 at 06:30 AM

    Hi Joe,

    the functionality is available in Web AS 6.40. But the way you use custom login modules in 6.40 is different than it was used to be in 6.20.

    I think the answer to your question can be found in this topic: server-side-login-identity

    In addition, I'd add just a link from the documentation about configuring login modules for web applications: http://help.sap.com/saphelp_webas630/helpdata/en/3e/ee7aa1ab8b4442bab00ba3171cef72/frameset.htm

    Good luck,

    Ivo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 16, 2004 at 07:20 AM

    thanks, but I'm having trouble when I try to deploy after adding the login module to web-j2ee-engine.xml

    I'm using the sample Calculator and have set it up so that users have to log in to use it.

    I've added my login module to the project (as the first link from the last note says), after adding the login module to web-j2ee-engine.xml and attempting to deploy, it aborts deployment.

    As a side effect of this problem, if I remove it from web-j2ee-engine.xml and compile and deploy this works fine...until I go to use the Calculator. Its not running any more. So after starting it from "Application Tracing", I go back to attempting to use the calculator at the browser. However this time, the user is no longer authorized to access it. Some how the authorization drops out from doing the above...so back into "Security Provider" I go and re-add the group that the users I want to access it belong to...strange.

    Any ideas what I'm doing wrong in adding the module to web-j2ee-engine.xml or if there is another step?

    Thanks 😊

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.