You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (Jira)" <ji...@apache.org> on 2019/08/19 16:13:00 UTC

[jira] [Updated] (OAK-8557) CugPolicyImpl.isValidPrincipal contains unreachable default option

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

angela updated OAK-8557:
------------------------
    Priority: Minor  (was: Major)

> CugPolicyImpl.isValidPrincipal contains unreachable default option
> ------------------------------------------------------------------
>
>                 Key: OAK-8557
>                 URL: https://issues.apache.org/jira/browse/OAK-8557
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: authorization-cug
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>
> similar to OAK-8556, {{CugPolicyImpl.isValidPrincipal}} defines a default which will never be reached due to the fact that the constructor asserts that the specified importbehavior is valid (see test {{CugPolicyImplTest.testInvalidImportBehavior}}) 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)