001/** 002 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 003 * 004 * Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved 005 * 006 * The contents of this file are subject to the terms 007 * of the Common Development and Distribution License 008 * (the License). You may not use this file except in 009 * compliance with the License. 010 * 011 * You can obtain a copy of the License at 012 * https://opensso.dev.java.net/public/CDDLv1.0.html or 013 * opensso/legal/CDDLv1.0.txt 014 * See the License for the specific language governing 015 * permission and limitations under the License. 016 * 017 * When distributing Covered Code, include this CDDL 018 * Header Notice in each file and include the License file 019 * at opensso/legal/CDDLv1.0.txt. 020 * If applicable, add the following below the CDDL Header, 021 * with the fields enclosed by brackets [] replaced by 022 * your own identifying information: 023 * "Portions Copyrighted [year] [name of copyright owner]" 024 * 025 * $Id: IdConstants.java,v 1.9 2008/08/19 19:09:09 veiming Exp $ 026 * 027 */ 028 029package com.sun.identity.idm; 030 031/** 032 * 033 * @supported.all.api 034 */ 035public interface IdConstants { 036 037 // The properties below are Id Repo service config attributes to be 038 // read by the SDK when it needs to determine which configs to call. 039 public static final String REPO_SERVICE = "sunIdentityRepositoryService"; 040 041 public static final String SUPPORTED_TYPES = "SupportedIdentities"; 042 043 public static final String ATTRIBUTE_COMBINER = 044 "sunIdRepoAttributeCombiner"; 045 046 public static final String ID_REPO = "sunIdRepoClass"; 047 048 public static final String NAMING_ATTR = "sunIdRepoNamingAttribute"; 049 050 public static final String ATTR_MAP = "sunIdRepoAttributeMapping"; 051 052 public static final String SUPPORTED_OP = "sunIdRepoSupportedOperations"; 053 054 public static final String ORGANIZATION_ALIAS_ATTR = 055 "sunOrganizationAliases"; 056 057 public static final String ORGANIZATION_STATUS_ATTR = 058 "sunOrganizationStatus"; 059 060 public static final String AMSDK_PLUGIN = "com.iplanet.am.sdk.AMSDKRepo"; 061 062 public static final String SPECIAL_PLUGIN = 063 "com.sun.identity.idm.plugins.internal.SpecialRepo"; 064 065 public static final String AGENTREPO_PLUGIN = 066 "com.sun.identity.idm.plugins.internal.AgentsRepo"; 067 068 public static final String AMSDK_PLUGIN_NAME = "amSDK"; 069 070 public static final String ATTR_MEMBER_OF = "canBeMemberOf"; 071 072 public static final String ATTR_HAVE_MEMBERS = "canHaveMembers"; 073 074 public static final String ATTR_ADD_MEMBERS = "canAddMembers"; 075 076 public static final String SERVICE_NAME = "servicename"; 077 078 public static final String SLASH_SEPARATOR = "/"; 079 080 public static final String SERVICE_ATTRS = 081 "sun-idrepo-ldapv3-config-service-attributes"; 082 083 /** 084 * amadmin user from SunIdentityRepositoryService 085 */ 086 public static final String AMADMIN_USER = "amadmin"; 087 088 089 /** 090 * anonymous user from SunIdentityRepositoryService 091 */ 092 public static final String ANONYMOUS_USER = "anonymous"; 093 094 // The properties below are OpenSSO Agent service config 095 // attributes to be 096 // read by the SDK when it needs to determine which configs to call. 097 public static final String AGENT_SERVICE = "AgentService"; 098 099 public static final String AGENT_TYPE = "AgentType"; 100 101 public static final String IDREPO_CACHESTAT = "idRepoCacheStat"; 102 103}