This content has been marked as final. Show 5 replies
use OrganizationManager API. There is no direct method to get password policy but yes you can get it using below steps
Organization getDetails (java.lang.String orgID, java.util.Set retAttrs, boolean isOrgName)
Organization org=orgManager.getDetails(org_key,null,false) or getDetails(org_name,null,true)
String pwdPolidcyName=(String)org.*getAttribute* (OrganizationManagerConstants.AttributeName.ORG_PASSWORD_POLICY_NAME);
unfortunately I don't find anything at this link.
thanks a lot nayan. it worked
Have you got it working? I have created a new organization and attach my password policy to this organization (from the Identity console). Now if i am creating a user under this organization, it is still validating the password against default password policy. Any clue? Thanks