You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Alasdair Nottingham (JIRA)" <ji...@apache.org> on 2010/12/13 14:30:05 UTC
[jira] Created: (ARIES-515) Exceptions being hidden when thrown by
InitialContextFactory from a Builder
Exceptions being hidden when thrown by InitialContextFactory from a Builder
---------------------------------------------------------------------------
Key: ARIES-515
URL: https://issues.apache.org/jira/browse/ARIES-515
Project: Aries
Issue Type: Bug
Components: JNDI
Affects Versions: 0.3
Reporter: Alasdair Nottingham
Assignee: Alasdair Nottingham
Fix For: 0.3
A common use of JNDI is to perform authentication against an LDAP registry of users. This typically works by going new InitialDirContext(props) where the props contains a userid/password. This requires the AuthenticationException to be thrown from the InitialDirContext constructor. When used with the default JNDI implementation what actually happens is you get a NoInitialContextException because the creation of the Context fails and if the ICF was created from an ICFB then the exception is swallowed rather than rethrown.
Alasdair
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (ARIES-515) Exceptions being hidden when
thrown by InitialContextFactory from a Builder
Posted by "Alasdair Nottingham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on ARIES-515 started by Alasdair Nottingham.
> Exceptions being hidden when thrown by InitialContextFactory from a Builder
> ---------------------------------------------------------------------------
>
> Key: ARIES-515
> URL: https://issues.apache.org/jira/browse/ARIES-515
> Project: Aries
> Issue Type: Bug
> Components: JNDI
> Affects Versions: 0.3
> Reporter: Alasdair Nottingham
> Assignee: Alasdair Nottingham
> Fix For: 0.3
>
>
> A common use of JNDI is to perform authentication against an LDAP registry of users. This typically works by going new InitialDirContext(props) where the props contains a userid/password. This requires the AuthenticationException to be thrown from the InitialDirContext constructor. When used with the default JNDI implementation what actually happens is you get a NoInitialContextException because the creation of the Context fails and if the ICF was created from an ICFB then the exception is swallowed rather than rethrown.
> Alasdair
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ARIES-515) Exceptions being hidden when thrown by
InitialContextFactory from a Builder
Posted by "Alasdair Nottingham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alasdair Nottingham resolved ARIES-515.
---------------------------------------
Resolution: Fixed
> Exceptions being hidden when thrown by InitialContextFactory from a Builder
> ---------------------------------------------------------------------------
>
> Key: ARIES-515
> URL: https://issues.apache.org/jira/browse/ARIES-515
> Project: Aries
> Issue Type: Bug
> Components: JNDI
> Affects Versions: 0.3
> Reporter: Alasdair Nottingham
> Assignee: Alasdair Nottingham
> Fix For: 0.3
>
>
> A common use of JNDI is to perform authentication against an LDAP registry of users. This typically works by going new InitialDirContext(props) where the props contains a userid/password. This requires the AuthenticationException to be thrown from the InitialDirContext constructor. When used with the default JNDI implementation what actually happens is you get a NoInitialContextException because the creation of the Context fails and if the ICF was created from an ICFB then the exception is swallowed rather than rethrown.
> Alasdair
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.