cancel
Showing results for 
Search instead for 
Did you mean: 

Custom login module does not work after configuration

Former Member
0 Kudos

Hi everyone,

I have developed a custom login module but I don't get it work. I have deployed the sda File with the library and configured it.

To which component must the module be binded if I want to react of the portal login / logout?

How can I ensure that my module was deployed properly? In the Config Tool I see my library under the libraries folder.

Can anyone give me some tips how I can find out the problem?

Best regards

Matthias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have a look at the documentation under help.sap.com

http://help.sap.com/saphelp_nw04s/helpdata/en/46/3ce9402f3f8031e10000000a1550b0/frameset.htm

You will have to modify the ticket login module stack from security provider in visual admin in order for it to be activated for portal usage.

Let me know if you have still have problems in this area.

Regards

Dagfinn

Former Member
0 Kudos

Thanks Dagfinn.

I have developed my login module on the basis of the sap help. I have rechecked my implementation and added the module to the ticket template, but it is not called.

My provider.xml looks:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
	<display-name>MyLoginModuleLibrary</display-name>
	<component-name>MyLoginModuleLibrary</component-name>
	<major-version>6</major-version>
	<minor-version>40</minor-version>
	<micro-version>0</micro-version>
	<provider-name>de.example.com</provider-name>
	<references>
		<reference 
			provider-name="sap.com" 
			strength="weak" 
			type="interface">security_api</reference>
		<reference 
			provider-name="de.example.com" 
			strength="weak" 
			type="service">MySessionPoolService</reference>
		<reference 
			provider-name="sap.com" 
			strength="weak" 
			type="library">com.sap.security.api.sda</reference>
		<reference 
			provider-name="sap.com" 
			strength="weak" 
			type="library">com.sap.security.core.sda</reference>
		<reference 
			provider-name="sap.com" 
			strength="weak" 
			type="library">j2eeca</reference>
		<reference 
			provider-name="sap.com" 
			strength="weak" 
			type="library">security.class</reference>
		<reference 
			provider-name="sap.com" 
			strength="weak" 
			type="library">com.sap.tc.Logging</reference>
	</references>
	<jars>
		<jar-name>MySessionPoolService.jar</jar-name>
		<jar-name>com.sap.portal.usermapping_api.jar</jar-name>
		<jar-name>com.sap.security.api.jar</jar-name>
		<jar-name>prtapi.jar</jar-name>
		<jar-name>prtcoreservice.jar</jar-name>
		<jar-name>security_api.jar</jar-name>
		<jar-name>util.jar</jar-name>
		<jar-name>MyLoginModule.jar</jar-name>
	</jars>
</provider-descriptor>

The sda can be successfully deployed with sdm. I have added the library to the classpath in the config tool and I have added a new LoginModule to the user store.

After that I added the Module to the ticket template and restartet the server but I can still login without my module called.

Any suggestions?

Best regards

Matthias

Answers (0)