【发布时间】: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