001/**
002 * Copyright 2005-2015 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.kim.api;
017
018import org.kuali.rice.core.api.CoreConstants;
019import org.kuali.rice.core.api.CoreConstants.Versions;
020
021public final class KimApiConstants {
022    public static final class Namespaces {
023
024        public static final String MODULE_NAME = "kim";
025
026        public static final String KIM_NAMESPACE_PREFIX = CoreConstants.Namespaces.ROOT_NAMESPACE_PREFIX + "/" + MODULE_NAME;
027
028        /**
029         * Namespace for the core module which is compatible with Kuali Rice 2.0.x.
030         */
031        public static final String KIM_NAMESPACE_2_0 = KIM_NAMESPACE_PREFIX + "/" + Versions.VERSION_2_0;
032
033        private Namespaces() {
034                    throw new UnsupportedOperationException("do not call");
035            }
036    }
037
038    public static final class Cache {
039        public static final String KIM_DISTRIBUTED_CACHE_MANAGER = "kimDistributedCacheManager";
040    }
041    public static final class ServiceNames {
042
043        public static final String ROLE_SERVICE_SOAP = "roleService";
044        public static final String GROUP_SERVICE_SOAP = "groupService";
045        public static final String IDENTITY_SERVICE_SOAP = "identityService";
046    }
047
048    public static final class RestrictedMasks {
049        public static final String RESTRICTED_DATA_MASK = "Xxxxxx";
050        public static final String RESTRICTED_DATA_MASK_CODE = "XX";
051        public static final String RESTRICTED_DATA_MASK_ZIP = "00000";
052        public static final String RESTRICTED_DATA_MASK_PHONE = "000-000-0000";
053    }
054}