[JBoss JIRA] Created: (JBNAME-20) Split out ObjectFactory implementation from LocalOnlyContextFactory
by Scott M Stark (JIRA)
Split out ObjectFactory implementation from LocalOnlyContextFactory
-------------------------------------------------------------------
Key: JBNAME-20
URL: https://jira.jboss.org/jira/browse/JBNAME-20
Project: JBoss Naming
Issue Type: Task
Components: jnp-client
Affects Versions: 5.0.0.CR3
Reporter: Scott M Stark
Assignee: Scott M Stark
Fix For: 5.0.0.GA
The LocalOnlyContextFactory currently implements a URL content ObjectFactory for some reason:
// ObjectFactory implementation ----------------------------------
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
throws Exception
{
Context ctx = getInitialContext(environment);
Reference ref = (Reference)obj;
return ctx.lookup((String)ref.get("URL").getContent());
}
This should be in a separate URLContentObjectFactory bean
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[JBoss JIRA] Created: (JBAS-6163) JACC: Look at the cmp2-audit.jar for security domain
by Anil Saldhana (JIRA)
JACC: Look at the cmp2-audit.jar for security domain
----------------------------------------------------
Key: JBAS-6163
URL: https://jira.jboss.org/jira/browse/JBAS-6163
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-5.0.0.CR2
Reporter: Anil Saldhana
Assignee: Anil Saldhana
Fix For: JBossAS-5.0.1.CR1
The trace log for jacc tests involving the CMP2 audit jar are showing trace as follows:
=============
2008-11-05 10:50:57,320 TRACE [org.jboss.security.plugins.identitytrust.JBossIdentityTrustManager] (WorkerThread#0[127.0.0.1:41997]) Trust Exception:
org.jboss.security.identitytrust.IdentityTrustException: java.lang.IllegalStateException: ApplicationPolicy not found for CLIENT_LOGIN_MODULE
at org.jboss.security.identitytrust.JBossIdentityTrustContext.isTrusted(JBossIdentityTrustContext.java:65)
at org.jboss.security.plugins.identitytrust.JBossIdentityTrustManager.isTrusted(JBossIdentityTrustManager.java:72)
at org.jboss.security.javaee.EJBAuthenticationHelper.isTrusted(EJBAuthenticationHelper.jav
============
The IdentityTrust feature should be disabled and the correct security domain should have been taken.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months