[
https://issues.jboss.org/browse/AS7-3923?page=com.atlassian.jira.plugin.s...
]
Jesper Pedersen commented on AS7-3923:
--------------------------------------
{code}
<security-domain name="jca-domain" cache-type="default">
<authentication>
<login-module code="ConfiguredIdentity" flag="required">
<module-option name="userName" value="sa"/>
<module-option name="principal" value="sa"/>
<module-option name="password" value="sa"/>
<module-option name="unauthenticatedIdentity"
value="sa"/>
</login-module>
</authentication>
</security-domain>
{code}
Data source with security domain integration does not work
-----------------------------------------------------------
Key: AS7-3923
URL:
https://issues.jboss.org/browse/AS7-3923
Project: Application Server 7
Issue Type: Bug
Components: Security
Affects Versions: 7.1.0.Final
Reporter: Vladimir Rastseluev
Assignee: Anil Saldhana
Priority: Critical
Fix For: 7.1.1.Final
Creating data source with security domain authentication throws an exception:
[org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer]
(MSC service thread 1-6) Exception during createSubject()PB00024: Access
Denied:Unauthenticated caller:null: java.lang.SecurityException:PB00024: Access
Denied:Unauthenticated caller:null
at
org.jboss.security.plugins.JBossSecuritySubjectFactory.createSubject(JBossSecuritySubjectFactory.java:89)
at org.jboss.jca.deployers.common.AbstractDsDeployer$1.run(AbstractDsDeployer.java:1020)
at org.jboss.jca.deployers.common.AbstractDsDeployer$1.run(AbstractDsDeployer.java:1015)
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.6.0_23]
at
org.jboss.jca.deployers.common.AbstractDsDeployer.createSubject(AbstractDsDeployer.java:1014)
at
org.jboss.jca.deployers.common.AbstractDsDeployer.deployDataSource(AbstractDsDeployer.java:563)
at
org.jboss.jca.deployers.common.AbstractDsDeployer.createObjectsAndInjectValue(AbstractDsDeployer.java:283)
at
org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer.deploy(AbstractDataSourceService.java:271)
at
org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:111)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[rt.jar:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira