Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: To be reviewed To be reviewed
  • Resolution: Unresolved
  • Affects Version/s: 1.5.3
  • Fix Version/s: None
  • Component/s: Core
  • Labels:
    None
  • Environment:

    galaxy 1.5.3
    java 1.5/1.6

  • User impact:
    High
  • Similar Issues:
    None

Description

when i upload a xml configuration file to galaxy, all the line breaks get removed. maybee they are just removed when i download them from galaxy through netboot or the "view artifact" link but the result is the same, the line breaks disappear.

normally this isn't that dramatically but with spring security configurations this makes the application unusable. as descripted in the mule security documentation i defined a MethodSecurityInterceptor bean. one property of this bean is the objectDefinitionSource where the methods to protect are listet and the roles are defined that are needed in order to allow access to them. here is an example:

<spring:bean id="MySpringMethodSecurityInterceptor" class="org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor">
<spring:property name="validateConfigAttributes">
<spring:value>false</spring:value>
</spring:property>
<spring:property name="rejectPublicInvocations">
<!--
We realy want to have this attribute set true
as this prevents us from forgetting any method
that might become accessible otherwise.
-->
<spring:value>true</spring:value>
</spring:property>
<spring:property name="authenticationManager" ref="MySpringAuthenticationManager" />
<spring:property name="accessDecisionManager" ref="MySpringAccessDecisionManager" />
<spring:property name="objectDefinitionSource">
<spring:value>
my.ServicesBridge.methodOne=ROLE_MY_SERVICE_CONSUMER
my.ServicesBridge.methodTwo=ROLE_MY_SERVICE_CONSUMER
my.ServicesBridge.methodThree=ROLE_MY_SERVICE_CONSUMER

</spring:value>
</spring:property>
</spring:bean>

this works fine but when the line breaks disappear, the content of the objectDefinitionSource property value gets:

my.ServicesBridge.methodOne=ROLE_MY_SERVICE_CONSUMER my.ServicesBridge.methodTwo=ROLE_MY_SERVICE_CONSUMER my.ServicesBridge.methodThree=ROLE_MY_SERVICE_CONSUMER

without line breaks it does not work anymore as spring security is not able to parse it properly.

from my point of view this is a serious bug/problem. can you agree?

greez,

dialsc

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: