[JBoss JIRA] Reopened: (JBAS-3210) DynamicLoginConfig service fails to load login-config.xml that may be absolute
by Anil Saldhana (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3210?page=all ]
Anil Saldhana reopened JBAS-3210:
---------------------------------
> DynamicLoginConfig service fails to load login-config.xml that may be absolute
> ------------------------------------------------------------------------------
>
> Key: JBAS-3210
> URL: http://jira.jboss.com/jira/browse/JBAS-3210
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Security
> Affects Versions: JBossAS-4.0.2 Final, JBossAS-4.0.3 SP1, JBossAS-3.2.8 Final
> Reporter: Anil Saldhana
> Assigned To: Anil Saldhana
> Fix For: JBossAS-5.0.0.Beta, JBossAS-3.2.8.SP2, JBossAS-4.0.5.CR1
>
>
> Currently, DynamicLoginConfig service as explained in the following wiki:
> http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig
> looks for the login-config.xml via ClassLoader.getResource.
> So if the customer has a valid usecase of placing the login-config.xml to be something like:
> file:/C:/cygwin/home/asaldhana/9149/login-config.xml
> Then the error would be:
> ===================================================================
> 14:34:56,531 WARN [ServiceController] Problem starting service jboss:service=Dy
> namicLoginConfig
> org.jboss.deployment.DeploymentException: Failed to find authConf as resource: f
> ile:/C:/cygwin/home/asaldhana/9149/login-config.xml
> at org.jboss.security.auth.login.DynamicLoginConfig.startService(Dynamic
> LoginConfig.java:155)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> upport.java:272)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> eanSupport.java:222)
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:141)
> ============================================================================
--
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
19 years, 10 months
[JBoss JIRA] Updated: (JBAS-3210) DynamicLoginConfig service fails to load login-config.xml that may be absolute
by Anil Saldhana (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3210?page=all ]
Anil Saldhana updated JBAS-3210:
--------------------------------
Fix Version/s: JBossAS-3.2.8.SP2
Affects Version/s: JBossAS-3.2.8 Final
> DynamicLoginConfig service fails to load login-config.xml that may be absolute
> ------------------------------------------------------------------------------
>
> Key: JBAS-3210
> URL: http://jira.jboss.com/jira/browse/JBAS-3210
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Security
> Affects Versions: JBossAS-4.0.2 Final, JBossAS-4.0.3 SP1, JBossAS-3.2.8 Final
> Reporter: Anil Saldhana
> Assigned To: Anil Saldhana
> Fix For: JBossAS-5.0.0.Beta, JBossAS-3.2.8.SP2, JBossAS-4.0.5.CR1
>
>
> Currently, DynamicLoginConfig service as explained in the following wiki:
> http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig
> looks for the login-config.xml via ClassLoader.getResource.
> So if the customer has a valid usecase of placing the login-config.xml to be something like:
> file:/C:/cygwin/home/asaldhana/9149/login-config.xml
> Then the error would be:
> ===================================================================
> 14:34:56,531 WARN [ServiceController] Problem starting service jboss:service=Dy
> namicLoginConfig
> org.jboss.deployment.DeploymentException: Failed to find authConf as resource: f
> ile:/C:/cygwin/home/asaldhana/9149/login-config.xml
> at org.jboss.security.auth.login.DynamicLoginConfig.startService(Dynamic
> LoginConfig.java:155)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> upport.java:272)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> eanSupport.java:222)
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:141)
> ============================================================================
--
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
19 years, 10 months
[JBoss JIRA] Closed: (JBAS-3210) DynamicLoginConfig service fails to load login-config.xml that may be absolute
by Anil Saldhana (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3210?page=all ]
Anil Saldhana closed JBAS-3210.
-------------------------------
Resolution: Done
Updated Branch_3_2 such that this is available for JBoss 3.2.8.sp2
> DynamicLoginConfig service fails to load login-config.xml that may be absolute
> ------------------------------------------------------------------------------
>
> Key: JBAS-3210
> URL: http://jira.jboss.com/jira/browse/JBAS-3210
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Security
> Affects Versions: JBossAS-4.0.2 Final, JBossAS-4.0.3 SP1, JBossAS-3.2.8 Final
> Reporter: Anil Saldhana
> Assigned To: Anil Saldhana
> Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.5.CR1, JBossAS-3.2.8.SP2
>
>
> Currently, DynamicLoginConfig service as explained in the following wiki:
> http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig
> looks for the login-config.xml via ClassLoader.getResource.
> So if the customer has a valid usecase of placing the login-config.xml to be something like:
> file:/C:/cygwin/home/asaldhana/9149/login-config.xml
> Then the error would be:
> ===================================================================
> 14:34:56,531 WARN [ServiceController] Problem starting service jboss:service=Dy
> namicLoginConfig
> org.jboss.deployment.DeploymentException: Failed to find authConf as resource: f
> ile:/C:/cygwin/home/asaldhana/9149/login-config.xml
> at org.jboss.security.auth.login.DynamicLoginConfig.startService(Dynamic
> LoginConfig.java:155)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> upport.java:272)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> eanSupport.java:222)
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:141)
> ============================================================================
--
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
19 years, 10 months
[JBoss JIRA] Created: (JBAS-3422) Remove default resource for DynamicLoginConfig Service
by Anil Saldhana (JIRA)
Remove default resource for DynamicLoginConfig Service
------------------------------------------------------
Key: JBAS-3422
URL: http://jira.jboss.com/jira/browse/JBAS-3422
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Security
Affects Versions: JBossAS-4.0.4.GA, JBossAS-3.2.8.SP1
Reporter: Anil Saldhana
Assigned To: Anil Saldhana
Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.5.CR1, JBossAS-3.2.8.SP2
Do not allow DynamicLoginConfig service to start until there is an explicit AuthConf attribute, which is **neither** null nor "login-config.xml"
In the error message, suggest using something like "META-INF/login-config.xml"
The testcase DynamicLoginConfigServiceUnitTestCase should be updated where applicable.
--
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
19 years, 10 months