mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 19:27:57 +08:00
d3b6552133
Introduced `@TrustedClientOnly` annotation for service beans that should not be available from non-trusted clients. AuthenticationServiceBean now checks if client is trusted and replaces IP address with the address of client in credentials objects if client is not trusted. TrustedAccessRequiredException is thrown in case of non-trusted access to the annotated classes and their methods. |
||
---|---|---|
.. | ||
src | ||
test | ||
test-data/javacl-sources/com/haulmont/cuba/core/sys/javacl |