on 05-25-2004 3:48 AM
Hello,
I'm using the SAP Web AS 640 tech preview and trying to get a login module to deploy that extends AbstractLoginModule.
To extend the AbstractLoginModule, I need to add a jar to my library build path...having done a search in the C:\Program Files\SAP\JDT\eclipse\plugins, the three jars I have a choice out of are:
sapj2eeclient.jar
sapj2eenginedeploy.jar
security_api.jar
using any of these jars the deploy aborts.
which jar should I be using to use to extend AbstractLoginModule?
the info about the aborting is...
May 18, 2004 4:10:45 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Deploy Thread] ERROR:
CalculatorEar.ear -> Deployment aborted
DEPLOYMENT ...
==> SDM host : tfsapwas640
==> SDM port : 50018
==> URL : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp62807CalculatorEar.ear
... ABORTED
Execution of deployment action for "CalculatorEar" aborted:
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/CalculatorEar.. Reason: Unexpected exception occurred during generation of components of application sap.com/CalculatorEar in container servlet_jsp.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Unexpected exception occurred during generation of components of application sap.com/CalculatorEar in container servlet_jsp.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Any ideas?
Hi,
we referenced the security lib and could deploy a custom login module that extended the AbstractLoginModule.
But then during runtime the engine won't find the AbstractLoginModule and throws a ClassNotFound-Exception. Finally, I simply implement the LoginModule-Interface in my CustomLoginModuleClass as it is the JAAS default. So I got my LoginModule running.
By the way, if anyone reads this who has implemented successfully a NTLoginModule on WAS, please raise your hand and help...
Best Regards, Astrid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hmmm, I also implemented the Login Module Interface instead of extending the AbstractLoginModule but the problem then is, that I want to create MYSAPSSO2 cookies with the CreateTicketLoginModule...and to do that I need to have put the username in the shared state with sharedState.put(AbstractLoginModule.NAME, <username>)
in my login module
Any chance the AbstractLoginModule problem will be fixed in SAP WAS 640 Tech Preview 2?
Is there a release timeframe for it yet?
How about the linux version? Anyone been able to use the AbstractLoginModule over there? (would love to be able to get my hands on the linux version, how long until it makes it to the shop? )
Thanks.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.