[jboss-jira] [JBoss JIRA] (WFLY-1371) AuthorizationModule.destroy is never called

Darran Lofthouse (JIRA) issues at jboss.org
Fri Jul 7 12:57:01 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse reassigned WFLY-1371:
--------------------------------------

    Assignee:     (was: Darran Lofthouse)


> AuthorizationModule.destroy is never called
> -------------------------------------------
>
>                 Key: WFLY-1371
>                 URL: https://issues.jboss.org/browse/WFLY-1371
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 8.0.0.Alpha1
>            Reporter: Vlad Arkhipov
>
> If you define a custom authorization module in configuration XML, it's org.jboss.security.authorization.AuthorizationModule.destroy() is never called. So if you have some stuff in it's sharedState field, it leads to a memory leak. I'm not quite sure which project is responsible for the calling of this method PicketBox of WildFly.
> As a workaround I currently clear sharedState field in abort() and commit() methods.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list