WebORB for Java

Update of Destinations in console doesn't remove more than one role per request

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.0
  • Fix Version/s: 4.0
  • Component/s: None
  • Labels:
    None

Description

This is according to code. I havn't doublecheck this with deployed weborb

I believe in ServiceDestination.java this
securityElement.getChild( "security-constraint" ).getChild( "roles" ).removeChild( "role" );
should be substituted by
securityElement.getChild( "security-constraint" ).getChild( "roles" ).removeChildren( "role" );

Activity

Hide
Dmitriy Krasikov added a comment - 22/Apr/10 9:21 AM
I found out that role removal is one-by-one operation, so removal of serveral childern is unnecessary
Show
Dmitriy Krasikov added a comment - 22/Apr/10 9:21 AM I found out that role removal is one-by-one operation, so removal of serveral childern is unnecessary

People

Vote (0)
Watch (0)

Dates

  • Created:
    21/Apr/10 10:42 AM
    Updated:
    22/Apr/10 9:21 AM
    Resolved:
    22/Apr/10 9:21 AM