1 package fr.in2p3.jsaga.adaptor.security;
2
3 import org.ogf.saga.error.NoSuccessException;
4 import org.ogf.saga.error.NotImplementedException;
5
6 import java.io.PrintStream;
7
8
9
10
11
12
13
14
15
16
17
18
19
20 public class NoneSecurityCredential implements SecurityCredential {
21 public String getUserID() throws Exception {
22 return "";
23 }
24
25 public String getAttribute(String key) throws NotImplementedException, NoSuccessException {
26 return null;
27 }
28
29 public void close() throws Exception {
30
31 }
32
33 public void dump(PrintStream out) throws Exception {
34
35 }
36 }