You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/02/28 14:34:05 UTC

[jira] [Resolved] (SSHD-421) Add smart handling of UserPrincipalLookupService lookup failures

     [ https://issues.apache.org/jira/browse/SSHD-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SSHD-421.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0
         Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=c062c6f6eb52be72b136dcb46e0c2eeb7d3983d1

> Add smart handling of UserPrincipalLookupService lookup failures
> ----------------------------------------------------------------
>
>                 Key: SSHD-421
>                 URL: https://issues.apache.org/jira/browse/SSHD-421
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Goldstein Lyor
>            Assignee: Guillaume Nodet
>             Fix For: 1.0.0
>
>         Attachments: 0024-SSHD-421-Add-smart-handling-of-UserPrincipalLookupSe.patch
>
>
> According to the [Javadoc|http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/UserPrincipalLookupService.html#lookupPrincipalByGroupName(java.lang.String)]: 
> {panel:title=lookupPrincipalByGroupName}
> Where an implementation does not support any notion of group then this method always throws UserPrincipalNotFoundException
> {panel}
> Therefore, if we get _UserPrincipalNotFoundException_ we treat it the same way as any other unsupported attribute - subject to the same _UnsupportedAttributePolicy_



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)