aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alasdair Nottingham (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ARIES-515) Exceptions being hidden when thrown by InitialContextFactory from a Builder
Date Mon, 13 Dec 2010 13:56:00 GMT

     [ 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.


Mime
View raw message