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

Goldstein Lyor updated SSHD-421:
--------------------------------
    Attachment: 0024-SSHD-421-Add-smart-handling-of-UserPrincipalLookupSe.patch

Attached is the recommended patch. The reason for this is that when I compile 
the code on Windows, I get test failures in _StftFileSystemTest_ related to 
this issue.

> 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
>         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)

Reply via email to