[ https://issues.apache.org/jira/browse/CAMEL-15619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Ondrusek updated CAMEL-15619: ---------------------------------- Description: 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) was: 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. 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) > 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 > > 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)