Bug 984037

Summary: Wrong "Security Deployment Type" value on Datasource or ConnectionFactory creation with management interface
Product: [JBoss] JBoss Enterprise Application Platform 5 Reporter: Thomas Segismont <tsegismo>
Component: jbossasAssignee: Fernando Nasser <fnasser>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Segismont 2013-07-12 15:20:59 UTC
Description of problem:
When you create a Datasource or ConnectionFactory with the management interface (org.jboss.deployers.spi.management.ManagementView#applyTemplate), the value of "Security Deployment Type" is ignored and set to "Domain and Application".

Version-Release number of selected component (if applicable):
EAP 5.2

How reproducible:
Always

Steps to Reproduce:
Call to the management to create a Datasource or a ConnectionFactory and set the  "Security Deployment Type" ManagedProperty to "NONE".

Actual results:
The resource is created and "Security Deployment Type" ManagedProperty is set to "Domain and Application".

Expected results:
The resource is created and "Security Deployment Type" ManagedProperty is set to "NONE".

Additional info:
Same behavior in the admin console, but as it uses EmbeddedJOPR I guess this is expected.