[JBoss JIRA] Created: (JBAS-5155) DistributedReplicantManager - Add lookup method to that given a replicant name, returns a List of ClusterNode
by Galder Zamarreno (JIRA)
DistributedReplicantManager - Add lookup method to that given a replicant name, returns a List of ClusterNode
-------------------------------------------------------------------------------------------------------------
Key: JBAS-5155
URL: http://jira.jboss.com/jira/browse/JBAS-5155
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Clustering
Affects Versions: JBossAS-5.0.0.Beta3
Reporter: Galder Zamarreno
Assigned To: Galder Zamarreno
Fix For: JBossAS-5.0.0.Beta4
I could do with having a method in DRM like this:
public List<ClusterNode> lookupReplicantsNodes(String key);
and deprecate lookupReplicantsNodeNames() as it returns a List of String names, which could
still be accessible via ClusterNode.getName(). Otherwise, building a List of ClusterNode from,
for example. the singleton service name is inefficient. I have to take the singleton name, look
up the List of Cluster Node names, and with that list, take ClusterNode list from the partition and
match them to create a brand new ClusterNode list with the nodes where the singleton are
running. ugh
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBAS-5168) Deployers conflict on .sar extension
by jean deruelle (JIRA)
Deployers conflict on .sar extension
------------------------------------
Key: JBAS-5168
URL: http://jira.jboss.com/jira/browse/JBAS-5168
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-4.2.2.GA
Reporter: jean deruelle
Assigned To: Dimitris Andreadis
We are currently building a sip servlets (JSR 289) implementation that aims to be able to run both on top of Tomcat and Jboss. (available at https://sip-servlets.dev.java.net/)
Unfortunately for us, the specs mandates that compliant containers should be able to deploy sip servlets bundled as a sar archive (.sar extension, same as jboss service archive extension). A valid sar file should contain a sip.xml in its WEB-INF directory.
This requirement made me look into Jboss AS 4.2.2.GA code and I found that the current SARDeployer will accept any file with .sar extension (in its accepts method, actually through the SubDeployerSupport accepts method). However if the sar file deployed doesn't contain a META-INF/jboss-service.xml it will fail to deploy.
This prevents us to provide our custom Tomcat Deployer to deploy sip servlet archive file (sar file with a sip.xml)
We have a proposition to correct the situation so that we can use Jboss as a sip servlets converged container :
Provide an accepts method in SARDeployer that enforce checks to see if the sar file contains a META-INF/jboss-service.xml. If not the method would return false and won't accept the deployment, leaving it for our sip servlets deployer to process and accept since it will contain a sip.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBAS-5066) InstanceInterceptors need to set SecurityContext on EnterpriseContext from Threadlocal
by Anil Saldhana (JIRA)
InstanceInterceptors need to set SecurityContext on EnterpriseContext from Threadlocal
--------------------------------------------------------------------------------------
Key: JBAS-5066
URL: http://jira.jboss.com/jira/browse/JBAS-5066
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB2, Security
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Anil Saldhana
Assigned To: Anil Saldhana
Fix For: JBossAS-5.0.0.Beta3
Currently, the StatelessInstanceInterceptor is doing
ctx.setSecurityContext(mi.getSecurityContext());
which leads to an error in the audit log (Note: CLIENT_PROXY) as:
--------------------------------------------
2007-12-09 08:06:25,734 TRACE [org.jboss.security.audit.providers.LogAuditProvid
er] (WorkerThread#0[127.0.0.1:1180]:) [Error]roleRefPermissionCheck=true;authori
zationManager=[AuthorizationManager:class=org.jboss.security.plugins.JBossAuthor
izationManager:CLIENT_PROXY:];roleName=InternalRole;Resource:=[org.jboss.securit
y.authorization.resources.EJBResource:contextMap={roleRefPermissionCheck=true, r
oleName=InternalRole, authorizationManager=[AuthorizationManager:class=org.jboss
.security.plugins.JBossAuthorizationManager:CLIENT_PROXY:]}:method=null:ejbMetho
dInterface=null:ejbName=Entity:ejbPrincipal=scott:methodRoles=null:securityRoleR
eferences=[]];Source=org.jboss.security.integration.ejb.EJBAuthorizationHelper;E
xception:=Authorization Failed: ;
------------------------------------------------------------
what needs to be done is:
ctx.setSecurityContext(SecurityActions.getSecurityContext());
For StatefulInstanceInterceptor which gets invoked before SecurityInterceptor, create a new sec ctx based on the container settings.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months