public OServerUserConfiguration getUser(final String username) {
    OServerUserConfiguration userCfg = null;

    try {
      if (getServer() != null) {
        OUser user = getServer().getSecurity().getSystemUser(username, null);

        if (user != null && user.getAccountStatus() == OSecurityUser.STATUSES.ACTIVE) {
          userCfg = new OServerUserConfiguration(user.getName(), "", "");
        }
      }
    } catch (Exception ex) {
      OLogManager.instance().error(this, "getUser()", ex);
    }

    return userCfg;
  }
public OServerUserConfiguration getUser(final String username) {
    OServerUserConfiguration userCfg = null;

    try {
      if (getServer() != null) {
        OUser user = getServer().getSecurity().getSystemUser(username, null);

        if (user != null && user.getAccountStatus() == OSecurityUser.STATUSES.ACTIVE) {
          userCfg = new OServerUserConfiguration(user.getName(), "", "");
        }
      }
    } catch (Exception ex) {
      OLogManager.instance().error(this, "getUser()", ex);
    }

    return userCfg;
  }
public OServerUserConfiguration getUser ( final String username ) { OServerUserConfiguration userCfg = null ; try { if ( getServer ( ) != null ) { OUser user = getServer ( ) . getSecurity ( ) . getSystemUser ( username , null ) ; if ( user != null && user . getAccountStatus ( ) == OSecurityUser . STATUSES . ACTIVE ) { userCfg = new OServerUserConfiguration ( user . getName ( ) , "" , "" ) ; } } } catch ( Exception ex ) { OLogManager . instance ( ) . error ( this , "getUser()" , ex ) ; } return userCfg ; }
OSecurityAuthenticator
OSecurityAuthenticator