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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/03/11 16:35:12 UTC

[jira] [Updated] (OAK-692) Access to invalid tree instances in security package

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

Michael Dürig updated OAK-692:
------------------------------

    Attachment: OAK-692.patch

Proposed patch
                
> Access to invalid tree instances in security package
> ----------------------------------------------------
>
>                 Key: OAK-692
>                 URL: https://issues.apache.org/jira/browse/OAK-692
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
>         Attachments: OAK-692.patch
>
>
> Enforcing the {{Tree}} contract in OAK-690 causes the following tests to fail with {{java.lang.IllegalStateException: This node has been removed or is disconnected}}:
> {code}
> org.apache.jackrabbit.oak.security.authentication.TokenDefaultLoginModuleTest.testTokenCreationAndLogin
> org.apache.jackrabbit.oak.security.authentication.TokenDefaultLoginModuleTest.testValidTokenCredentials
> org.apache.jackrabbit.oak.security.authentication.TokenDefaultLoginModuleTest.testTokenCreationAndLogin
> org.apache.jackrabbit.oak.security.authentication.TokenDefaultLoginModuleTest.testValidTokenCredentials
> org.apache.jackrabbit.oak.security.authentication.TokenLoginModuleTest.testValidTokenCredentials
> org.apache.jackrabbit.oak.security.authentication.token.TokenAuthenticationTest.testAuthenticate
> org.apache.jackrabbit.oak.security.authentication.token.TokenAuthenticationTest.testGetTokenInfoAfterAuthenticate
> org.apache.jackrabbit.oak.security.authentication.token.TokenInfoTest.testGetUserId
> org.apache.jackrabbit.oak.security.authentication.token.TokenInfoTest.testGetToken
> org.apache.jackrabbit.oak.security.authentication.token.TokenInfoTest.testIsExpired
> org.apache.jackrabbit.oak.security.authentication.token.TokenInfoTest.testMatches
> org.apache.jackrabbit.oak.security.authentication.token.TokenInfoTest.testGetAttributes
> org.apache.jackrabbit.oak.security.authentication.token.TokenProviderImplTest.testCreateTokenFromCredentials
> org.apache.jackrabbit.oak.security.authentication.token.TokenProviderImplTest.testTokenNode
> org.apache.jackrabbit.oak.security.authentication.token.TokenProviderImplTest.testGetTokenInfo
> org.apache.jackrabbit.oak.security.authentication.token.TokenProviderImplTest.testRemoveToken
> org.apache.jackrabbit.oak.security.authentication.token.TokenProviderImplTest.testRemoveToken2
> org.apache.jackrabbit.oak.security.authentication.token.TokenProviderImplTest.testRemoveTokenRemovesNode
> org.apache.jackrabbit.oak.security.authentication.token.TokenProviderImplTest.testResetTokenExpiration
> org.apache.jackrabbit.oak.security.user.UserManagerImplTest.testEnforceAuthorizableFolderHierarchy
> org.apache.jackrabbit.oak.security.user.UserProviderTest.testIllegalChars
> {code}
> Run with {{-DOAK-690=true}} to see these failures. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira