You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Achim Nierbeck (JIRA)" <ji...@apache.org> on 2010/07/15 16:02:51 UTC

[jira] Created: (KARAF-121) Better exception handling in JaasSecurityProvider

Better exception handling in JaasSecurityProvider
-------------------------------------------------

                 Key: KARAF-121
                 URL: https://issues.apache.org/jira/browse/KARAF-121
             Project: Karaf
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Achim Nierbeck


The exception handling in class org.apache.karaf.webconsole.JaasSecurityProvider could need some improvements. 
Just catching the exception is no good style :(

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (KARAF-121) Better exception handling in JaasSecurityProvider

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-121.
-----------------------------------

         Assignee: Guillaume Nodet
    Fix Version/s: 2.0.0
       Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
	M	webconsole/branding/pom.xml
	M	webconsole/branding/src/main/java/org/apache/karaf/webconsole/JaasSecurityProvider.java
Committed r964695


> Better exception handling in JaasSecurityProvider
> -------------------------------------------------
>
>                 Key: KARAF-121
>                 URL: https://issues.apache.org/jira/browse/KARAF-121
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Achim Nierbeck
>            Assignee: Guillaume Nodet
>             Fix For: 2.0.0
>
>         Attachments: org.apache.karaf.webconsole.branding.patch
>
>
> The exception handling in class org.apache.karaf.webconsole.JaasSecurityProvider could need some improvements. 
> Just catching the exception is no good style :(

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-121) Better exception handling in JaasSecurityProvider

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Achim Nierbeck updated KARAF-121:
---------------------------------

    Attachment: org.apache.karaf.webconsole.branding.patch

A possible solution. 
You may also take a look at
http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/api/javax/security/auth/login/AccountException.html
for even better handling :)



> Better exception handling in JaasSecurityProvider
> -------------------------------------------------
>
>                 Key: KARAF-121
>                 URL: https://issues.apache.org/jira/browse/KARAF-121
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Achim Nierbeck
>         Attachments: org.apache.karaf.webconsole.branding.patch
>
>
> The exception handling in class org.apache.karaf.webconsole.JaasSecurityProvider could need some improvements. 
> Just catching the exception is no good style :(

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.