View Javadoc
1   /**
2    * Copyright 2004-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.kpme.core.api;
17  
18  
19  public final class KPMEConstants {
20  
21      public static class ConfigSettings {
22          public static final String SESSION_TIMEOUT = "session.timeout";
23          public static final String KPME_SYSTEM_TIMEZONE = "kpme.system.timezone";
24      }
25  
26      public static final String IP_SEPARATOR = ".";
27      public static final String IP_WILDCARD_PATTERN = "(%|(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))";
28  
29      public static final class CacheNamespace {
30          public static final String ROOT_NAMESPACE_PREFIX = "http://kpme.kuali.org";
31      }
32  
33      public static final String BATCH_USER_PRINCIPAL_NAME = "kpme.batch.user.principalName";
34  
35      public static final class Versions {
36          public static final String UNSPECIFIED = "unspecifiedVersion";
37  
38          public static final String VERSION_2_1 = "v2_1";
39      }
40  
41      public static final class CommonElements {
42          public final static String ID = "id";
43          public final static String EFFECTIVE_LOCAL_DATE = "effectiveLocalDate";
44          public final static String CREATE_TIME = "createTime";
45          public final static String USER_PRINCIPAL_ID = "userPrincipalId";
46          public final static String GROUP_KEY_CODE = "groupKeyCode";
47          public final static String GROUP_KEY = "groupKey";
48      }
49  
50      private KPMEConstants() {
51          throw new UnsupportedOperationException("do not call");
52      }
53  }