Changeset 57:4efb21cf0ce0 in AnnotationManagerN4J for src/main/java/de/mpiwg/itgroup/annotations/restlet/BaseRestlet.java
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/de/mpiwg/itgroup/annotations/restlet/BaseRestlet.java
r50 r57 34 34 35 35 /** 36 * Properties holding consumer keys and secrets 36 * Properties holding consumer keys and secrets. 37 37 */ 38 38 protected Properties consumerKeys; … … 40 40 public static final String CONSUMERKEYS_KEY = "annotationmanager.consumerkeys"; 41 41 42 /** 43 * Properties holding server config. 44 */ 42 45 protected Properties serverConfig; 43 46 public String CONFIG_PROPS_PATH = "WEB-INF/serverconfig.property"; 44 47 public static final String SERVERCONFIG_KEY = "annotationmanager.serverconfig"; 45 48 49 /** 50 * database instance; 51 */ 46 52 protected GraphDatabaseService graphDb; 47 53 public static final String GRAPHDB_KEY = "annotationmanager.graphdb"; … … 49 55 public String graphdbPath = "WEB-INF/neo4j-annotation-db"; 50 56 57 /** 58 * database interface server instance. 59 */ 51 60 protected WrappingNeoServerBootstrapper srv; 52 61 public static final String GRAPHDBSRV_KEY = "annotationmanager.graphdb.srv"; 53 62 63 /** 64 * annotation store instance. 65 */ 54 66 protected AnnotationStore store; 55 67 public static final String ANNSTORE_KEY = "annotationmanager.store"; 56 68 69 /** 70 * LDAP server URI (for looking up full user names). 71 */ 57 72 protected String ldapServerUrl; 58 73 public static final String LDAP_SERVER_KEY = "annotationmanager.ldapserver.url"; … … 61 76 public static final String ADMIN_PASSWORD_KEY = "annotationmanager.admin.password"; 62 77 78 /** 79 * run in authorization mode i.e. with tokens. 80 */ 81 protected boolean authorizationMode = false; 82 public static final String AUTHORIZATION_MODE_KEY = "annotationmanager.authorization"; 83 63 84 /** 64 85 * constructor … … 172 193 173 194 /** 195 * @return the authorizationMode 196 */ 197 public boolean isAuthorizationMode() { 198 return authorizationMode; 199 } 200 201 /** 174 202 * @return the store 175 203 */
Note: See TracChangeset
for help on using the changeset viewer.