Branch: refs/heads/master
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: a731eff2e1db4558480323f8f73d403ad7b5f6aa
https://github.com/Teiid-Designer/teiid-designer/commit/a731eff2e1db45584...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/i18n.properties
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/RestWarDataserviceModel.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/RestWarDeploymentInfoDataPage.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/RestWarDeploymentInfoPanel.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/WarDataserviceModel.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/WarDeploymentInfoPanel.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/util/DefaultWebArchiveBuilderImpl.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/util/RestWebArchiveBuilderImpl.java
A
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/webservices/util/SecurityCredentials.java
M
plugins/org.teiid.designer.webservice/src/org/teiid/designer/webservice/i18n.properties
Log Message:
-----------
TEIIDDES-1891: Handle no security settings in WAR creation
* When creating a webservice or rest war, the security credentials can not
always be set. In which case, property collections return null, causing
exceptions.
* RestWarDataserviceModel
* WarDataserverModel
* Avoid trying to assign a null value to properties collections. This
causes an exception since properties objects are backed by hashmaps.
* RestWarDeploymentInfoDataPage
* Adds in validate methods for the security realm and role
* RestWarDeploymentInfoPanel
* Avoids trying to apply a null value to a text widget. This generates an
exception.
* DefaultWebArchiveBuilderImpl
* RestWebArchiveBuilderImpl
* SecurityCredentials
* Encapsulates the security credentials in their own object ensuring that
getters will check the security type has been correctly set
* Avoids calling properties.getProperty().equals which can generate a
null pointer exception
* Makes methods private that do not need any more generous visibility