001/* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 * 019 */ 020package org.apache.directory.server.core.api; 021 022 023/** 024 * The list of mandatory interceptors we use in the server. 025 * 026 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> 027 */ 028public enum InterceptorEnum 029{ 030 NORMALIZATION_INTERCEPTOR("normalizationInterceptor"), 031 AUTHENTICATION_INTERCEPTOR("authenticationInterceptor"), 032 REFERRAL_INTERCEPTOR("referralInterceptor"), 033 ACI_AUTHORIZATION_INTERCEPTOR("aciAuthorizationInterceptor"), 034 DEFAULT_AUTHORIZATION_INTERCEPTOR("defaultAuthorizationInterceptor"), 035 ADMINISTRATIVE_POINT_INTERCEPTOR("administrativePointInterceptor"), 036 EXCEPTION_INTERCEPTOR("exceptionInterceptor"), 037 OPERATIONAL_ATTRIBUTE_INTERCEPTOR("operationalAttributeInterceptor"), 038 SCHEMA_INTERCEPTOR("schemaInterceptor"), 039 SUBENTRY_INTERCEPTOR("subentryInterceptor"), 040 EVENT_INTERCEPTOR("eventInterceptor"), 041 TRIGGER_INTERCEPTOR("triggerInterceptor"), 042 CHANGE_LOG_INTERCEPTOR("changeLogInterceptor"), 043 COLLECTIVE_ATTRIBUTE_INTERCEPTOR("collectiveAttributeInterceptor"), 044 JOURNAL_INTERCEPTOR("journalInterceptor"); 045 046 /** The associated interceptor name */ 047 private String name; 048 049 050 /** 051 * The private constructor 052 * @param methodName The associated interceptor name 053 */ 054 InterceptorEnum( String name ) 055 { 056 this.name = name; 057 } 058 059 060 /** 061 * @return The associated interceptor name 062 */ 063 public String getName() 064 { 065 return name; 066 } 067}