<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Password validation function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715117#M1672351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additionally FM RSEC_GENERATE_PASSWORD generates valid passwords. You might have a look at what it's doing. There's other information on the web as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2012 21:25:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-20T21:25:29Z</dc:date>
    <item>
      <title>Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715111#M1672345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Is there any way to validate if a specific string is SAP password compliance?&lt;/P&gt;&lt;P&gt;Here is the scenario.&lt;/P&gt;&lt;P&gt;A variable as string format needs to be validated as SAP password compliance.&lt;/P&gt;&lt;P&gt;If the string is not password compliant, the function should return why it is not.&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String value: "Alabama1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The string is not password compliant because the " character is not valid into a password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String value: 12345678&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The string is not password compliant because of a missing capital letter.&lt;/P&gt;&lt;P&gt;So, I need the password validation call/routine to call with passing the string and have in return if the string is valid as password.&lt;/P&gt;&lt;P&gt;Any suggestion will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 16:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715111#M1672345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-20T16:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715112#M1672346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is a table that has some of the general rules. You can look for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But one of the rules is that the new password can't be the same as any of the previous three (I think). So to do this, you would ahve to know and decrypt the three previous ones - which I am pretty sure you cannot do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 16:21:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715112#M1672346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-20T16:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715113#M1672347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fact is I just need the process that is validating the string before this one is encrypted. &lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;At least one uppercase letter&lt;/P&gt;&lt;P&gt;At least one lowercase letter&lt;/P&gt;&lt;P&gt;At least one digit&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those validation are already done when a user is changing his password. I just want to avoid to rewrite something that is already existing and those validation are done before the string is encrypted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I just need the string validation before the string is encrypted and saved into UR02 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 20:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715113#M1672347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-20T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715114#M1672348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table USR40 - Table for illegal passwords&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't debug what happens when you change your password, and do it incorrectly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 20:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715114#M1672348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-20T20:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715115#M1672349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was aware of the usr40 table but it contains only words that is prohibited to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did pass through the debugging mode. The only think I found is the "CALL 'PASSWORD'" where I didn't find any documentation so far on the parameters to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "CALL" return all the error that can be found in the password but the example I have is to change the password. I do not want to change the user password, I just want to validate of a string is password complient. So passing the string to the function, this one should return the proper error when the string is not password complient but return 0 when the string is password complient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 21:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715115#M1672349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-20T21:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715116#M1672350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe it's done by the SAP kernel (CALL 'PASSWORD') and you don't have access to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 21:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715116#M1672350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-20T21:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715117#M1672351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additionally FM RSEC_GENERATE_PASSWORD generates valid passwords. You might have a look at what it's doing. There's other information on the web as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 21:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715117#M1672351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-20T21:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Password validation function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715118#M1672352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the function I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PASSWORD_FORMAL_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 18:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-validation-function/m-p/8715118#M1672352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-23T18:05:29Z</dc:date>
    </item>
  </channel>
</rss>

