Jeffery Painter
2017-12-06 20:14:35 UTC
Hi Georg,
Things are looking much better. I am working on the role/permission
implementation stuff in the flux library. Using your updated Turbine
4.0.1 snapshot and the flux-security snapshot release.
I was trying to figure out what you did to make TurbineUser work to try
and fix issues I am now facing with TurbinePermission, but I have not
dug too deep there yet.
The following method is giving me an exception in the security manager...
Permission perm = security.getPermissionByName(permName);
the exception looks similar to the wrapper issue we had with TurbineUser...
org.apache.torque.TorqueException:
org.apache.fulcrum.security.util.DataBackendException:
org.apache.turbine.fluxtest.om.TurbinePermissionPeerImpl cannot be cast
to org.apache.fulcrum.security.torque.peer.Peer.
The peer class org.apache.turbine.fluxtest.om.TurbinePermissionPeerImpl
should implement interface
org.apache.fulcrum.security.torque.peer.TorqueTurbinePeer
of generic type <org.apache.turbine.fluxtest.om.TurbinePermission>.
The methods for security.getRole() and security.getGroup() seem to be
working fine, just permission is giving me trouble. I will post my
updates soon back to github so you can see where I am stuck.
Also, I submitted an update to the Turbine.java class as the
input.encoding was not getting set properly when trying to put in my own
value in the TR.props file. Hopefully I put the fix in the right place.
It is working for me now and I can once again use UTF-8 encoding :-)
Just wondering if there might be interest in just changing the default
encoding to UTF-8 instead of ISO-8859-1 which is what it is now... not
sure why most would not want to use UTF-8 these days.
Thanks,
Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@turbine.apache.org
For additional commands, e-mail: dev-***@turbine.apache.org
Things are looking much better. I am working on the role/permission
implementation stuff in the flux library. Using your updated Turbine
4.0.1 snapshot and the flux-security snapshot release.
I was trying to figure out what you did to make TurbineUser work to try
and fix issues I am now facing with TurbinePermission, but I have not
dug too deep there yet.
The following method is giving me an exception in the security manager...
Permission perm = security.getPermissionByName(permName);
the exception looks similar to the wrapper issue we had with TurbineUser...
org.apache.torque.TorqueException:
org.apache.fulcrum.security.util.DataBackendException:
org.apache.turbine.fluxtest.om.TurbinePermissionPeerImpl cannot be cast
to org.apache.fulcrum.security.torque.peer.Peer.
The peer class org.apache.turbine.fluxtest.om.TurbinePermissionPeerImpl
should implement interface
org.apache.fulcrum.security.torque.peer.TorqueTurbinePeer
of generic type <org.apache.turbine.fluxtest.om.TurbinePermission>.
The methods for security.getRole() and security.getGroup() seem to be
working fine, just permission is giving me trouble. I will post my
updates soon back to github so you can see where I am stuck.
Also, I submitted an update to the Turbine.java class as the
input.encoding was not getting set properly when trying to put in my own
value in the TR.props file. Hopefully I put the fix in the right place.
It is working for me now and I can once again use UTF-8 encoding :-)
Just wondering if there might be interest in just changing the default
encoding to UTF-8 instead of ISO-8859-1 which is what it is now... not
sure why most would not want to use UTF-8 these days.
Thanks,
Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@turbine.apache.org
For additional commands, e-mail: dev-***@turbine.apache.org