1 package com.atlassian.seraph.auth;
2
3 import com.atlassian.seraph.config.SecurityConfig;
4
5 import java.security.Principal;
6 import java.util.Map;
7 import javax.servlet.http.HttpServletRequest;
8 import javax.servlet.http.HttpServletResponse;
9
10
11
12
13
14
15 public class MockAuthenticator implements Authenticator
16 {
17 public void init(final Map<String, String> params, final SecurityConfig config)
18 {
19
20 }
21
22 public void destroy()
23 {
24 throw new UnsupportedOperationException("Not implemented yet.");
25 }
26
27 public String getRemoteUser(final HttpServletRequest request)
28 {
29 throw new UnsupportedOperationException("Not implemented yet.");
30 }
31
32 public Principal getUser(final HttpServletRequest request)
33 {
34 throw new UnsupportedOperationException("Not implemented yet.");
35 }
36
37 public Principal getUser(final HttpServletRequest request, final HttpServletResponse response)
38 {
39 throw new UnsupportedOperationException("Not implemented yet.");
40 }
41
42 public boolean isUserInRole(final HttpServletRequest request, final String role)
43 {
44 throw new UnsupportedOperationException("Not implemented yet.");
45 }
46
47 public boolean login(final HttpServletRequest request, final HttpServletResponse response, final String username, final String password)
48 throws AuthenticatorException
49 {
50 throw new UnsupportedOperationException("Not implemented yet.");
51 }
52
53 public boolean login(final HttpServletRequest request, final HttpServletResponse response, final String username, final String password, final boolean storeCookie)
54 throws AuthenticatorException
55 {
56 throw new UnsupportedOperationException("Not implemented yet.");
57 }
58
59 public boolean logout(final HttpServletRequest request, final HttpServletResponse response)
60 throws AuthenticatorException
61 {
62 throw new UnsupportedOperationException("Not implemented yet.");
63 }
64 }