This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 95729 - The appclient project's security feature doesnt work OOB
Summary: The appclient project's security feature doesnt work OOB
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 18:14 UTC by Srividhya Narayanan
Modified: 2007-08-06 21:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Srividhya Narayanan 2007-02-15 18:14:17 UTC
The appclient project requires the AMClientProvider ProviderConfig info to be
available in sun-acc.xml. This information is available in domain.xml which
works for HTTP container related projects. Since appcontainer requires this, the
needed change has to happen from the AM runtime. Until then the user needs to
add certain lines to the appclient projects sun-acc.xml before deploying it.
Comment 1 Peter Liu 2007-02-15 19:40:01 UTC
You need to add the following xml fragment to the <message-security-config>
element in the sun-acc.xml under your <asroot>/domains/domain1/config directory.

<provider-config
class-name="com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule"
provider-id="AMClientProvider" provider-type="client">
           <request-policy auth-source="content"/>
           <response-policy auth-source="content"/>
           <property name="providername" value="wsc"/>
       </provider-config> 
Comment 2 Srividhya Narayanan 2007-02-15 19:42:46 UTC
This would require restart of appserver. But ofcourse the advantage is this will
be a one time only thing. Is there also a workaround to change it at project level?
Comment 3 Peter Liu 2007-02-15 20:56:52 UTC
No, this doesn't require a restart of the appserver.

We can programmatically create a modified copy of the sun-acc.xml before
starting the appclient container.  This should only be a last resort if the AM
team does not enhance their installer to do this.


Comment 4 astashkova 2007-02-16 12:02:30 UTC
Added "as is" to NB Enterprise Pack Release Notes 5.5.1 Beta
(http://nbstaging.czech.sun.com/community/releases/55/1/entpack_relnotes.html#95729).
Clarification required.
Comment 5 astashkova 2007-02-16 12:03:13 UTC
Added "as is" to NB Enterprise Pack Release Notes 5.5.1 Beta
(http://nbstaging.czech.sun.com/community/releases/55/1/entpack_relnotes.html#95729).
Clarification required.
Comment 6 Alexei Mokeev 2007-02-19 07:09:44 UTC
No Objections in 48 hours. Waived.
Comment 7 Alexei Mokeev 2007-03-05 17:20:48 UTC
Removed Beta EP551_WAIVER_APPROVED keyword - we are going forward to FCS.
Comment 8 Peter Liu 2007-08-06 21:27:05 UTC
Just verified with this version of the sdk, java_app_platform_sdk-5_03-fcs-bin-b24-windows-nojdk-06_aug_2007, ths
sun-acc.xml is not properly configured by the AM to support appclient security.