public void readPWResetProfile(String realm){
  String value=null;
  try {
    value=getAttributeValue(realm,PW_RESET_ENABLED_ATTR);
  }
 catch (  SSOException e) {
    debug.warning("PWResetModelImpl.readPWResetProfile",e);
  }
catch (  SMSException e) {
    debug.error("PWResetModelImpl.readPWResetProfile",e);
  }
  if ((value == null) || !value.equals(STRING_TRUE)) {
    pwResetEnable=false;
    informationMsg=getLocalizedString("pwResetDisabled.message");
  }
}

public void readPWResetProfile ( String realm ) { String value = null ; try { value = getAttributeValue ( realm , PW_RESET_ENABLED_ATTR ) ; } catch ( SSOException e ) { debug . warning ( "PWResetModelImpl.readPWResetProfile" , e ) ; } catch ( SMSException e ) { debug . error ( "PWResetModelImpl.readPWResetProfile" , e ) ; } if ( ( value == null ) || ! value . equals ( STRING_TRUE ) ) { pwResetEnable = false ; informationMsg = getLocalizedString ( "pwResetDisabled.message" ) ; } }
sets the password reset enabled flag depending what is set in the password service for a given realm .
