腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Spring
Security
method
security
on @
Entity
methods
?
、
我们可以在JPA的@
Entity
方法上使用
Spring
Security
的@PreAuthorize、@PostAuthorize、@PreFilter或@PostFilter吗?没有人会谈论在@
Entity
上使用安全注释。为了解释简单的用例:假设我们有3个用于Person、Group和Party的
Spring
的JpaRepositoriesclass Person {@
Entity
class
浏览 19
提问于2019-12-04
得票数 0
回答已采纳
1
回答
基于所有者用户的实体访问
、
、
我正在开发一个
Spring
MVC webapp,它也使用了
spring
的安全性。我还遇到过这样的情况,即只能通过获取实体的父级或n-父级来比较用户。例如,
entity
.nestedEntity.user ==用户 我已经看到
spring
安全性支持ACL (域对象安全性),但我认为我无法处理“父方案”。我不会从一个空的数据库开始。
浏览 1
提问于2013-07-10
得票数 1
回答已采纳
2
回答
不使用注释的
Spring
安全集成
、
、
我必须将
spring
安全性集成到我的应用程序中。我没有使用注释进行映射,只是使用application-Context.xml完成了所有映射。现在我想集成
spring
安全性,所以我遵循了本教程在这里使用的基于注释的
spring
安全性。但是,我想在不使用注释的情况下进行同样的操作。 提前谢谢..。
浏览 5
提问于2011-06-16
得票数 0
4
回答
Thymeleaf: th:文本是否为空?
、
、
error (例如,以前没有任何不正确的登录),session[
SPRING
_
SECURITY
_LAST_EXCEPTION]当然是null,我得到了一个令人讨厌的404。<span th:text="${session[
SPRING
_
SECURITY
_LAST_EXCEPTION].message}">Invalid credentials</span>下面这样的东西是否有一个处理器<span th:text="${session[
S
浏览 6
提问于2015-07-20
得票数 0
回答已采纳
1
回答
Spring
安全认证管理器问题
、
我的应用程序中有以下实体(用户和角色)@
Entity
public class User { @GeneratedValuereturn role; this.role = role;实体角色 @
Entity
浏览 5
提问于2017-03-09
得票数 0
回答已采纳
2
回答
在春季启动中应用PreAuthority后的错误自动连接服务
、
、
= new TaxiParkEntity();
entity
.setInn(form.getInn());
entity
.setPhone(form.getPhone());
entity
.setTitle:115) ~[
spring
-
security
-we
浏览 3
提问于2016-12-21
得票数 0
回答已采纳
2
回答
Spring
在方法上的安全注释是如何工作的?
、
、
、
考虑下面的代码:import org.springframework.
security
.core.userdetails.User; @PreAuthorize我已经在我的applicationContext-
security
.xml配置文件中添加了<global-
meth
浏览 0
提问于2011-07-12
得票数 1
回答已采纳
1
回答
弹簧安全截取法显示错误
、
、
、
、
/
security
/
spring
-
security
-2.0.1.xsd"> class="com.service.MessageBoardServiceImpl"> <
security
:protect
metho
浏览 0
提问于2015-04-15
得票数 0
回答已采纳
2
回答
Spring
Boot Rest API安全性
、
、
我寻找一种为
Spring
创建注释的方法,它可以应用于REST中的API方法或控制器,从而保护端点。但我在寻找如何做到这一点的指南或文档时遇到了问题。RequestMapping("auth")public class AuthenticationController { @
浏览 0
提问于2019-09-16
得票数 0
回答已采纳
1
回答
弹簧安全自定义权限评估器引发ClassCastException
、
、
、
这是我的
spring
-
security
.xml http://www.springframework.org/schema/context http://www.springframework.org<
secu
浏览 5
提问于2015-12-22
得票数 1
1
回答
属性文件对象的Yaml配置列表
、
、
、
、
spring
: saml2: registration: signingprivate-key-location: "classpath:saml/xyz.key"
entity
-id配置文件的这一部分配置以下类: org.springframework.boot.autoconfig
浏览 2
提问于2020-03-25
得票数 2
回答已采纳
1
回答
解析
Spring
Security
method
@PreAuthorize
我已经在我的应用程序中用@PreAuthorize注解了一些服务方法。这些注释使用hasAuthority、hasRole等,将来还可能包含其他有效的构造。对于ex:public Customer getCustomer(String name);PreAuthorize pre = (PreAuthorize) m.getAnnotation(PreA
浏览 3
提问于2013-03-24
得票数 2
回答已采纳
1
回答
如果我使用
Spring
MVC和
Spring
安全,那么可以使用GET删除吗?
、
如果我使用
Spring
MVC和
Spring
安全,那么可以使用GET删除吗?我可以保护一组用户的/
entity
/delete/{id}路径。
浏览 0
提问于2013-07-22
得票数 0
1
回答
用Jersey尝试
Spring
Security
我的
security
-context.xml文件有什么问题?
、
、
、
我正在尝试将
Spring
Security
添加到我的泽西Webapp应用程序中。org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException::global-
method
-
security
浏览 3
提问于2011-12-07
得票数 1
回答已采纳
1
回答
Spring
安全指示不起作用
、
、
我试了一次又一次,但似乎我无法使
spring
安全注释工作。我参考了很多网站..我似乎看不出我的代码出了什么问题。任何帮助都将不胜感激<
security
:global-
method
-
security
pre-post-annotations="enabled"/> <
security
:http auto-config="true" use-expressio
浏览 1
提问于2014-03-26
得票数 0
1
回答
如何处理或加强每个rest子路径上的数据访问安全性?
、
、
、
、
我的web应用程序使用
Security
进行安全保护,并且有一个Rest,类似于: GET /assets/<assetId>/parts
浏览 1
提问于2020-07-26
得票数 0
1
回答
自定义
spring
登录表单循环和永远不认证
、
、
、
spring
-
security
.xml </
security
:authentication-provider> </
security
:authent
浏览 1
提问于2015-08-29
得票数 0
回答已采纳
1
回答
Spring
安全:如何在@RequestBody中使用@RolesAllowed
、
、
我有一个这样的方法: @RolesAllowed("ROLE_A")
method
= RequestMethod.POST,
浏览 32
提问于2021-03-01
得票数 1
回答已采纳
1
回答
Spring
Security
无法识别我自己的permissionEvaluator
、
、
、
;import com.brunorozendo.
entity
.Perfil; /WEB-INF/
spring
-
security
-datasource.xml /WEB-INF/
spring
-
secur
浏览 0
提问于2017-09-09
得票数 0
1
回答
Gwt +
Spring
安全集成
、
、
、
、
我正在用(智能)gwt、hibernate (实际上是gilead或
Spring
Security
)构建一个应用程序。在第一个链接中,它发生在行中: <
security
:global-
met
浏览 0
提问于2012-02-11
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券