how to apply password constraint in oracle apps

How to implement (Signon Password Custom) Profile Option in Oracle Applications 11i / R12? 
Solution
1- Here is a sample code:  // Disclaimer:
// This sample is provided for educational purposes only. It is NOT supported