【问题标题】:Weblogic 11g Create new User exceptionWeblogic 11g 创建新用户异常
【发布时间】:2011-07-19 02:07:44
【问题描述】:

我正在尝试在 WebLogic 11g 安全领域中创建新用户。

InitialContext ctx = new InitialContext(env);
wls = (MBeanServer) ctx.lookup("java:comp/env/jmx/runtime");
//userEditor is SqlAuthenticator provider.
wls.invoke(userEditor, "addMemberToGroup", new Object[] { groupName, username}, new String[] {"java.lang.String", "java.lang.String"});

在执行此操作时,我遇到了以下异常:

javax.management.MBeanException: MBean invoke failed: weblogic.management.utils.InvalidParameterException: 1. [Security:099069]The password length can not be less than 8.
2. [Security:099113]The number of numeric or special characters in a password can not be less than 1.

我的问题是我在 webLogic 11G 控制台中找不到任何选项来设置 SqlAuthenticator 提供程序的密码复杂性。有没有办法改变它?

【问题讨论】:

    标签: oracle authentication jakarta-ee weblogic soa


    【解决方案1】:

    它现在实际上是在密码验证提供程序级别设置的,而不是在特定身份验证提供程序级别,这是有道理的 - 您要求全面降低复杂性。

    你可以在这里看到配置的位置:

    http://www.screencast.com/users/kevinpowe/folders/Jing/media/3543eb50-d7c1-4070-8273-c122ae1adecd

    如果您点击主页上的链接,您会直接进入页面,您可以在其中配置有关复杂性的选项 - 数字、小写字符、大写字符等。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-08-26
      • 2021-04-12
      • 2012-08-08
      • 2023-03-25
      • 1970-01-01
      相关资源
      最近更新 更多