View Javadoc

1   /* Copyright 2004-2007 Acegi Technology Pty Limited
2    *
3    * Licensed under the Apache License, Version 2.0 (the "License");
4    * you may not use this file except in compliance with the License.
5    * You may obtain a copy of the License at
6    *
7    *     http://www.apache.org/licenses/LICENSE-2.0
8    *
9    * Unless required by applicable law or agreed to in writing, software
10   * distributed under the License is distributed on an "AS IS" BASIS,
11   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   * See the License for the specific language governing permissions and
13   * limitations under the License.
14   */
15  
16  package org.springframework.security.ui.ntlm;
17  
18  import org.springframework.security.AuthenticationException;
19  
20  /**
21   * Base class for NTLM exceptions so that it is easier to distinguish them
22   * from other <code>AuthenticationException</code>s in the
23   * {@link NtlmProcessingFilterEntryPoint}.  Marked as <code>abstract</code>
24   * since this exception is never supposed to be instantiated.
25   *
26   * @author Edward Smith
27   */
28  public abstract class NtlmBaseException extends AuthenticationException {
29  
30      public NtlmBaseException(final String msg) {
31          super(msg);
32      }
33  
34  }