mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
AuthenticationService suspends transactions for methods that work only on the thread login context
- This allows finally blocks that logout or clear the current security context even though the txn is rollback-only git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -807,6 +807,12 @@
|
||||
</property>
|
||||
<property name="transactionAttributes">
|
||||
<props>
|
||||
<prop key="getCurrentUserName">PROPAGATION_NOT_SUPPORTED, readOnly</prop>
|
||||
<prop key="invalidateUserSession">PROPAGATION_NOT_SUPPORTED, readOnly</prop>
|
||||
<prop key="invalidateTicket">PROPAGATION_NOT_SUPPORTED, readOnly</prop>
|
||||
<prop key="getCurrentTicket">PROPAGATION_NOT_SUPPORTED, readOnly</prop>
|
||||
<prop key="clearCurrentSecurityContext">PROPAGATION_NOT_SUPPORTED, readOnly</prop>
|
||||
<prop key="isCurrentUserTheSystemUser">PROPAGATION_NOT_SUPPORTED, readOnly</prop>
|
||||
<prop key="*">${server.transaction.mode.default}</prop>
|
||||
</props>
|
||||
</property>
|
||||
|
Reference in New Issue
Block a user