简体   繁体   English

使用af:validateRegExp在Oracle ADF中验证密码的表达式

[英]Expression to validate Password in Oracle ADF using af:validateRegExp

I would like to validate a inputtext for password validation: 我想验证输入文本以进行密码验证:

Atleast one number Atleast one special character Atleast one uppercase letter Minimum 8 characters 至少1个数字至少1个特殊字符至少1个大写字母

Does anyone know how I can declare a string with the expression for the above. 有谁知道我如何用上面的表达式声明一个字符串。 Thanks. 谢谢。

One way to do this in ADF Faces is to drag an af:validateRegExp component onto the inputTextField. 在ADF Faces中执行此操作的一种方法是将af:validateRegExp组件拖到inputTextField上。 Find this in the component palette under Operations > Validators and Converters. 在“操作”>“验证器和转换器”下的组件面板中找到此选项。 Then use the Property window to configure the pattern, etc. 然后使用“属性”窗口配置模式等。

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

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