简体   繁体   English

如何将自定义登录模块添加到WebLogic应用程序?

[英]How to Add a custom Login module to WebLogic application?

I have an webservice that valide the user and return the roles and I write an custom Jaas Login Module for it. 我有一个验证用户身份并返回角色的Web服务,我为此编写了一个自定义的Jaas登录模块。 How can I use this module in Weblogic(and webcenter)? 如何在Weblogic(和Webcenter)中使用此模块?

Well, I figured it out, if anyone has the same problem must take into account: 好吧,我想通了,如果有人遇到相同的问题,必须考虑到:

  • The Principals in the JaaS must extend WLSUser or use WLSUserImp JaaS中的主体必须扩展WLSUser或使用WLSUserImp
  • You must create a mbeantype, and put it in server/lib/mbeantypes 您必须创建一个mbeantype,并将其放在server / lib / mbeantypes中
  • Configure the authentication provider in the Weblogic console. 在Weblogic控制台中配置身份验证提供程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM