You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/10/06 09:04:00 UTC
[jira] [Resolved] (CAMEL-15619) camel-shiro: allow custom
implementation of serialization
[ https://issues.apache.org/jira/browse/CAMEL-15619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-15619.
---------------------------------
Fix Version/s: 3.6.0
Resolution: Fixed
> camel-shiro: allow custom implementation of serialization
> ----------------------------------------------------------
>
> Key: CAMEL-15619
> URL: https://issues.apache.org/jira/browse/CAMEL-15619
> Project: Camel
> Issue Type: Improvement
> Components: camel-shiro
> Affects Versions: 3.5.0
> Reporter: Jiri Ondrusek
> Assignee: Jiri Ondrusek
> Priority: Major
> Fix For: 3.6.0
>
>
> Serialization and deserialization of `ShiroSecurityToken` is used in this component. (see [https://github.com/apache/camel/blob/master/components/camel-shiro/src/main/java/org/apache/camel/component/shiro/security/ShiroSecurityHelper.java#L36] and [https://github.com/apache/camel/blob/master/components/camel-shiro/src/main/java/org/apache/camel/component/shiro/security/ShiroSecurityProcessor.java#L126])
>
> Graal VM doesn't support `ObjectOutputStream.writeObject()` (see [https://github.com/oracle/graal/issues/460]). Which makes it impossible for camel-quarkus to make this component work in native ([https://github.com/apache/camel-quarkus/issues/1844]). There is a simple solution, to refactor serialization into a mechanism, which allows some kind of overriding.
> (for example: Provide serialization interface. then quarkus could provide its own implementation)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)