diff options
Diffstat (limited to 'java/das/ldap/das.ldap.constants/src')
10 files changed, 0 insertions, 332 deletions
diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/ApacheDSConnectionConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/ApacheDSConnectionConstants.java deleted file mode 100644 index 01e4d63789..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/ApacheDSConnectionConstants.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -package org.apache.tuscany.das.ldap.constants; - -public interface ApacheDSConnectionConstants -{ - String APACHE_CONTEXT_FACTORY = - "org.apache.directory.server.core.jndi.CoreContextFactory"; - - String SUN_CONTEXT_FACTORY = - "com.sun.jndi.ldap.LdapCtxFactory"; - - String SIMPLE_SECURITY_AUTHENTICATION_VALUE = - "simple"; - - String DEFAULT_SECURITY_PRINCIPAL_VALUE = - "uid=admin,ou=system"; - - String DEFAULT_SECURITY_CREDENTIALS_VALUE = - "secret"; - - String SCHEMA_PROVIDER_PATH = - "ou=schema"; - - String SYSTEM_PROVIDER_PATH = - "ou=system"; - - String NLOG4J_CONFIGURATION_FILEPATH = - "src/test/resources/log4j.properties"; - -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/DASConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/DASConstants.java deleted file mode 100644 index 91745e0980..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/DASConstants.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -package org.apache.tuscany.das.ldap.constants; - -public interface DASConstants { - String DAS_META_ID_DEFAULT = - "0"; - - - String DAS_XSD_NAMESPACE = - "http://org.apache.tuscany/das/ldap"; - - String M_META_TOP_SDO_OBJECT_CLASS = - "metaTopSDO"; - - String M_COMPLEX_MAY = - "m-complexMay"; - - String M_COMPLEX_MAY_DESCRIPTION = - "SDO Type member that is a reference"; - - String M_COMPLEX_MUST = - "m-complexMust"; - - String M_COMPLEX_MUST_DESCRIPTION = - "Required SDO Type member reference."; - - String ID = - "id"; - - String ID_DESCRIPTION = - "Unique DataObject Instance Integer ID"; - - //================================================== - String XSD_CONTEXT_NAME = - "xsd"; - - String ECORE_CONTEXT_NAME = - "ecore"; - - String DAS_CONTEXT_NAME = - "das"; - - String SYNTAXES_CONTEXT_NAME = - "syntaxes"; - - String SYNTAX_CHECKERS_CONTEXT_NAME = - "syntaxCheckers"; - - String ATTRIBUTE_TYPES_CONTEXT_NAME = - "attributeTypes"; - - String OBJECT_CLASSES_CONTEXT_NAME = - "objectClasses"; - - String META_CONTEXT_NAME = - "meta"; - //================================================== - - String LDAP_USER_APPLICATIONS = - "USER_APPLICATIONS"; - - String LDAP_FALSE = - "FALSE"; - - String TUSCANY_OID_PREFIX_VALUE = - "1.3.6.1.4.1.18060.4"; - - - String OID_SYNTAX_OID_VALUE = - "1.3.6.1.4.1.1466.115.121.1.38"; - - String INTEGER_SYNTAX_OID_VALUE = - "1.3.6.1.4.1.1466.115.121.1.27"; - - String DISTINGUISHED_NAME_SYNTAX_OID_VALUE = - "1.3.6.1.4.1.1466.115.121.1.12"; -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/SyntaxOIDValues.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/SyntaxOIDValues.java deleted file mode 100644 index 32dece8648..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/constants/SyntaxOIDValues.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.apache.tuscany.das.ldap.constants; - -public interface SyntaxOIDValues { - - String SYNTAX_STRING_OID_VALUE = "1.3.6.1.4.1.1466.115.121.1.15"; - String SYNTAX_INTEGER_OID_VALUE = "1.3.6.1.4.1.1466.115.121.1.27"; - String SYNTAX_BOOLEAN_OID_VALUE = "1.3.6.1.4.1.1466.115.121.1.7"; -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/AttributeTypeConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/AttributeTypeConstants.java deleted file mode 100644 index 9a61986318..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/AttributeTypeConstants.java +++ /dev/null @@ -1,25 +0,0 @@ - -package org.apache.tuscany.das.ldap.schema.constants; - -public interface AttributeTypeConstants -{ - String CN = "cn"; - String OU = "ou"; - String OBJECT_CLASS = "objectClass"; - String CREATORS_NAME = "creatorsName"; - String CREATE_TIMESTAMP = "createTimestamp"; - String MODIFY_TIMESTAMP = "modifyTimestamp"; - String MODIFIERS_NAME = "modifiersName"; - - String LDAP_SYNTAXES = "ldapSyntaxes"; - String SYNTAXES = "syntaxes"; - String SYNTAX_CHECKERS = "syntaxCheckers"; - String MATCHING_RULES = "matchingRules"; - String ATTRIBUTE_TYPES = "attributeTypes"; - String OBJECT_CLASSES = "objectClasses"; - String MATCHING_RULE = "matchingRuleUse"; - String DIT_STRUCTURE = "ditStructureRules"; - String DIT_CONTENT = "ditContentRules"; - String NAME_FORMS = "nameForms"; - String UNIQUE_IDENTIFIER = "uniqueIdentifier"; -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/EnumeratedSchemaAttributeTypeValues.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/EnumeratedSchemaAttributeTypeValues.java deleted file mode 100644 index 6658beeafa..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/EnumeratedSchemaAttributeTypeValues.java +++ /dev/null @@ -1,7 +0,0 @@ - -package org.apache.tuscany.das.ldap.schema.constants; - -public interface EnumeratedSchemaAttributeTypeValues -{ - String M_EQUALITY__NAME_OR_NUMERIC_ID_MATCH="nameOrNumericIdMatch"; -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/ObjectClassConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/ObjectClassConstants.java deleted file mode 100644 index c722ef8631..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/ObjectClassConstants.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -package org.apache.tuscany.das.ldap.schema.constants; - - -/** - * These constants are used by the DAS and DAS Clients. - * - */ -public interface ObjectClassConstants -{ - String TOP = "top"; - String ORGANIZATIONAL_UNIT = "organizationalUnit"; - - String ABSTRACT = "ABSTRACT"; - String STRUCTURAL = "STRUCTURAL"; - String AUXILIARY = "AUXILIARY"; -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/PartitionConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/PartitionConstants.java deleted file mode 100644 index c5ef1f2392..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/PartitionConstants.java +++ /dev/null @@ -1,8 +0,0 @@ - -package org.apache.tuscany.das.ldap.schema.constants; - -public interface PartitionConstants -{ - - -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SchemaAttributeTypeConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SchemaAttributeTypeConstants.java deleted file mode 100644 index 8cf39ce172..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SchemaAttributeTypeConstants.java +++ /dev/null @@ -1,33 +0,0 @@ - -package org.apache.tuscany.das.ldap.schema.constants; - -public interface SchemaAttributeTypeConstants -{ - String M_SUP_OBJECT_CLASS = "m-supObjectClass"; - String M_BYTECODE = "m-bytecode"; - String M_FQCN = "m-fqcn"; - String M_DEPENDENCIES = "m-dependencies"; - String M_DISABLED = "m-disabled"; - String M_DESCRIPTION = "m-description"; - String M_OBSOLETE = "m-obsolete"; - String M_NAME = "m-name"; - String M_OID = "m-oid"; - String M_OC = "m-oc"; - String M_AUX = "m-aux"; - String M_USAGE = "m-usage"; - String M_NO_USER_MODIFICATION = "m-noUserModification"; - String M_SINGLE_VALUE = "m-singleValue"; - String M_COLLECTIVE = "m-collective"; - String M_SUBSTR = "m-substr"; - String M_SUP = "m-supAttributeType"; - String M_ORDERING = "m-ordering"; - String M_EQUALITY = "m-equality"; - String M_SYNTAX = "m-syntax"; - String M_MUST = "m-must"; - String M_MAY = "m-may"; - String M_TYPE_OBJECT_CLASS = "m-typeObjectClass"; - String X_HUMAN_READIBLE = "x-humanReadible";//TODO Fix spelling once fixed in ADS - - String M_FQCN_DEFAULT_VALUE = - "org.apache.directory.shared.ldap.schema.syntax.AcceptAllSyntaxChecker"; -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SchemaObjectClassConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SchemaObjectClassConstants.java deleted file mode 100644 index 34f04d3498..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SchemaObjectClassConstants.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -package org.apache.tuscany.das.ldap.schema.constants; - - -/** - * These constants are used by the DAS and DAS Clients. - */ -public interface SchemaObjectClassConstants -{ - String META_TOP = "metaTop"; - String META_SCHEMA = "metaSchema"; - String META_OBJECT_CLASS = "metaObjectClass"; - String META_ATTRIBUTE_TYPE = "metaAttributeType"; - String META_MATCHING_RULE = "metaMatchingRule"; - String META_NORMALIZER = "metaNormalizer"; - String META_SYNTAX = "metaSyntax"; - String META_SYNTAX_CHECKER = "metaSyntaxChecker"; - String META_COMPARATOR = "metaComparator"; - String META_NAME_FORM = "metaNameForm"; - String META_DIT_CONTENT_RULE = "metaDITContentRule"; -} diff --git a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SystemSchemaConstants.java b/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SystemSchemaConstants.java deleted file mode 100644 index 2e8dac3cbb..0000000000 --- a/java/das/ldap/das.ldap.constants/src/main/java/org/apache/tuscany/das/ldap/schema/constants/SystemSchemaConstants.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -package org.apache.tuscany.das.ldap.schema.constants; - - -/** - * Constants for the System schema. - * - * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> - * @version $Rev$, $Date$ - */ -public interface SystemSchemaConstants -{ - String SCHEMA_NAME = "system"; - - -} |