content: /**
   * Copyright (c) 2010-present Abixen Systems. All rights reserved.
   *
   * This library is free software; you can redistribute it and/or modify it under
   * the terms of the GNU Lesser General Public License as published by the Free
   * Software Foundation; either version 2.1 of the License, or (at your option)
   * any later version.
   *
   * This library is distributed in the hope that it will be useful, but WITHOUT
   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
   * details.
   */
  
  package com.abixen.platform.common.infrastructure.util;
  
  
  public final class ModelKeys {
  
      //FIXME - what is name?
      public static final int NAME_MIN_LENGTH = 5;
      public static final int NAME_MAX_LENGTH = 300;
  
  
      public static final int USERNAME_MIN_LENGTH = 3;
      public static final int USERNAME_MAX_LENGTH = 32;
  
      public static final int PASSWORD_MAX_LENGTH = 60;
  
      public static final int FIRSTNAME_MIN_LENGTH = 2;
      public static final int FIRSTNAME_MAX_LENGTH = 64;
  
      public static final int LASTNAME_MIN_LENGTH = 2;
      public static final int LASTNAME_MAX_LENGTH = 64;
  
      public static final int ROLE_NAME_MIN_LENGTH = 5;
      public static final int ROLE_NAME_MAX_LENGTH = 20;
  
      public static final int FILTER_NAME_MIN_LENGTH = 3;
      public static final int FILTER_NAME_MAX_LENGTH = 100;
  
  
  
      /**
       * IPv4-mapped IPv6 (45 bytes)
       */
      public static final int REGISTRATION_IP_MAX_LENGTH = 45;
  
      public static final char COMMA = ',';
      public static final char TAB = '\t';
  
  
  }
  