Skip to Content
0
Former Member
Jul 07, 2007 at 09:23 AM

How to set runtime references in J2EE library DC's

20 Views

Hi,

I'm building an custom logon module. This is well described in

http://help.sap.com/saphelp_nw04/helpdata/en/46/3ce9402f3f8031e10000000a1550b0/content.htm

I created the following DC:

1. simple java project DC that contains the login module class

2. J2EE library DC that will act as the deployable component.

The part "Make reference to the Security Provider service of the J2EE Engine." (2b) is where i get stumped:

http://help.sap.com/saphelp_nw04/helpdata/en/bf/93d84072378031e10000000a1550b0/content.htm

The example adds the reference direct to the provider.xml. I don't have that option when I develop the library as a DC.

It seems that while EAR file DC's allow the adding of runtime library references via the application-j2ee.xml file, it seems that is not possible for J2EE library DCs.

Specifically, I'm trying to get the follwing entry into the provider.xml:

<references>

sap.com" strength="weak" type="interface">security_api

I saw one workaround in the SDN where they suggest to extract the provider.xml from the SDA and manually

add the references but this isn't really an option in our case.

Should I be deploying 'normal' EAR files in this case ? Have I overlooked something ?

thanks

Michael