( 2) 安全属性层( Attribute Layer) 。被客户方用来向服务 方 Push 安全属性( 包括身份属性和特权属性) , 这些属性可以 用来进行访问控制。
基于22个网页-相关网页
In this case, the API layer methods must have a transactional attribute of MANDATORY without any rollback logic.
在这种情况下,api层方法必须拥有一个事务属性MANDATORY,而不应包括任何回滚逻辑。
For this reason, they must use a transaction attribute of MANDATORY, indicating that a transaction is needed by the method but it should have been started elsewhere (such as in the client layer).
基于此原因,它们必须使用MANDATORY事务属性,这表示方法需要事务,但不应该在别处开始它(比如说在客户端层中)。
Now you are left with a no-win decision: do you make the attribute understand your application's architectural tiers and call through to the service layer to do the validation?
现在您只剩下一个无法取胜的决策:您可以让属性理解您应用程序的架构层并通过服务层调用来执行验证吗?
应用推荐