1 /* Copyright (C) 2000 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
11 public interface Context
13 // Property with name of the inital context factory to use
14 public static final String INITIAL_CONTEXT_FACTORY
15 = "java.naming.factory.initial";
17 // Property with colon-separated list of object factories to use.
18 public static final String OBJECT_FACTORIES
19 = "java.naming.factory.object";
21 // Property with colon-separated list of state factories to use.
22 public static final String STATE_FACTORIES
23 = "java.naming.factory.state";
25 // Property with colon-separated list of package prefixes to use.
26 public static final String URL_PKG_PREFIXES
27 = "java.naming.factory.url.pkgs";
29 // Property with URL specifying configuration for the service
31 public static final String PROVIDER_URL
32 = "java.naming.provider.url";
34 // Property with the DNS host and domain names to use.
35 public static final String DNS_URL
36 = "java.naming.dns.url";
38 // Property with the authoritativeness of the service requested.
39 public static final String AUTHORITATIVE
40 = "java.naming.authoritative";
42 // Property with the batch size to use when returning data via the
43 // service's protocol.
44 public static final String BATCHSIZE
45 = "java.naming.batchsize";
47 // Property defining how referrals encountered by the service
48 // provider are to be processed.
49 public static final String REFERRAL
50 = "java.naming.referral";
52 // Property specifying the security protocol to use.
53 public static final String SECURITY_PROTOCOL
54 = "java.naming.security.protocol";
56 // Property specifying the security level to use.
57 public static final String SECURITY_AUTHENTICATION
58 = "java.naming.security.authentication";
60 // Property for the identity of the principal for authenticating
61 // the caller to the service.
62 public static final String SECURITY_PRINCIPAL
63 = "java.naming.security.principal";
65 // Property specifying the credentials of the principal for
66 // authenticating the caller to the service.
67 public static final String SECURITY_CREDENTIAL
68 = "java.naming.security.credentials";
70 // Property for specifying the preferred language to use with the
72 public static final String LANGUAGE
73 = "java.naming.language";
75 // Property for the initial context constructor to use when searching
76 // for other properties.
77 public static final String APPLET
78 = "java.naming.applet";
80 public void bind (Name name, Object obj) throws NamingException;
81 public void bind (String name, Object obj) throws NamingException;