cancel
Showing results for 
Search instead for 
Did you mean: 

How to set runtime references in J2EE library DC's

Former Member
0 Kudos
72

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>

<reference provider-name="sap.com" strength="weak" type="interface">security_api</reference>

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

talk about overlooking the obvious . . . The appropriate public part is present in com.sap_SAP-JEE_1.

Adding that worked.

Michael