Commit graph

2900 commits

Author SHA1 Message Date
jeb228
7ac8b0c811 NIHVIVO-1399 make the contructor and the setBean() protected, so we can subclass this bean for faking external authentication. 2010-11-28 22:34:15 +00:00
jeb228
bd69387ba9 NIHVIVO-1399 improve diagnostics 2010-11-28 22:32:42 +00:00
jeb228
051d00ed45 Add comment. 2010-11-24 20:39:18 +00:00
jeb228
9eee0e9516 NIHVIVO-1396 Change LoginProcessBean so the message is "read-once and clear". Change the method names to reflect this. 2010-11-24 19:33:03 +00:00
jeb228
c7d6f122b3 NIHVIVO-1207 Change the property name to externalAuth.netIdHeaderName 2010-11-24 19:14:02 +00:00
sjm222
fed7a251d5 NIHVIVO-1286 - don't log error if miscAppReplacements.rdf file doesn't exist - just log an info. 2010-11-24 17:02:32 +00:00
bdc34
e20e2af6c6 Adding MenuDao.java, MenuDaoJena.java, MenuDaoJenaTest.java and menuForTest.n3 2010-11-23 21:25:33 +00:00
jeb228
6fe5ac59a9 NIHVIVO-1207 If deploy.properties does not contain a value for externalAuth.serverUrl, default to /loginExternalAuthReturn -- that way the users need only configure that as a protected page. 2010-11-23 21:05:52 +00:00
jeb228
1f91fc7f0a NIHVIVO-1207 Change SelfEditingIdentifierFactory to enable self-editing whether internal or external. Move the logic for associating users with Individuals to SelfEditingConfiguration bean. 2010-11-23 19:55:05 +00:00
jeb228
1365f0a665 NIHVIVO-1207 Add authenticationSource field to LoginStatusBean, so we can tell whether the user logged in via internal or external credentials. 2010-11-23 19:20:59 +00:00
jeb228
61d95dbf5c NIHVIVO-1207 A user who logs in with external authentication but no internal user account gets a LoginStatusBean anyway - just with slightly different info. 2010-11-23 16:53:58 +00:00
jeb228
3ce9da9eec Remove unnecessary redirect code 2010-11-23 16:41:36 +00:00
rjy7
70fe857329 NIHVIVO-1394 As a necessary first step to calling a template from a controller which will add to the data model used by page and body templates, provide BaseTemplateModelDirective with its own template processing methods, to separate from TemplateProcessingHelper, which will only be available to FreemarkerHttpServlet. 2010-11-23 16:10:05 +00:00
jeb228
a0225f1cc9 NIHVIVO-1393 The external authorization URL is not configurable. 2010-11-23 14:56:36 +00:00
rjy7
ec12b4db3d NIHVIVO-1393 changed configuration property names 2010-11-23 13:27:52 +00:00
rjy7
60060d4752 NIHVIVO-1393 Add button to login widget when external auth server is configured 2010-11-23 02:32:09 +00:00
rjy7
ca6ab8288e NIHVIVO-1386 Self-editors don't get SiteAdmin link in top nav. They also don't get revision info link in footer. Implemented with new User template model class. Changed tests for loginName, showFlag1Status in templates to use this object. 2010-11-23 01:28:39 +00:00
bjl23
130b641081 SDB-related bugfixes 2010-11-22 20:44:10 +00:00
bjl23
c149bc77d6 merging SDB import/export changes to trunk with backward compatibility code 2010-11-22 19:46:38 +00:00
bjl23
0a71b802df SDB code into trunk; not yet active by default 2010-11-22 16:24:00 +00:00
rjy7
ca76cfa4bd Fixes to variable dump. 2010-11-18 23:30:35 +00:00
rjy7
9bd79b636d Removing explicit wrapper specification when putting values in the template data model. 2010-11-18 23:29:32 +00:00
jeb228
32e2a1ae29 NIHVIVO-1207 Move all of the configurable operations of external authentication into ExternalAuthHelper. 2010-11-18 22:12:31 +00:00
jeb228
6b874e59ab NIHVIVO-1207 Modify IndividualDaoJena to match externally authenticated users with a configured property -- instead of using the hard-coded Cornell e-mail property. 2010-11-18 21:20:27 +00:00
jeb228
98e55972ae Add annotations to supress compiler warnings. 2010-11-18 20:30:22 +00:00
mb863
d4c96c6ba9 vivo-basic wasn't rendering property. Now It is fixed. 2010-11-18 18:50:52 +00:00
jeb228
c64483785c Remove unused imports and unnecessary @SuppressWarnings annotations. 2010-11-18 17:11:50 +00:00
jeb228
58af77e823 Generify to remove warning messages. 2010-11-18 16:43:52 +00:00
jeb228
02b477a42e Remove unused private methods and variables. 2010-11-18 16:11:27 +00:00
rjy7
4a3bc7d092 Added ${url.base} to template model so templates can build urls. Modified templates accordingly to replace ${url.home} with {$url.base}. Also replaced ${url.base}/images with ${url.images}. Added scripts and stylesheets to personHasEducationalTraining.ftl. 2010-11-18 00:46:04 +00:00
jeb228
eafa04ccf2 NIHVIVO-1207 Some time ago NetIdIdentifierFactory and SelfEditingUriFactory were merged into SelfEditingIdentifierFactory. Fix several comments to reflect this. 2010-11-17 21:35:52 +00:00
jeb228
37c9eaf4a1 NIHVIVO-1207 Rename Shibboleth servlets to more general ExternalAuth servlets. Add functionality to deal with self-editors as well as Users. 2010-11-17 19:25:55 +00:00
jeb228
dae66852f9 NIHVIVO-1207 Don't bother to store the SelfEditing identifiers in the session -- nobody is looking there for them. 2010-11-17 19:21:50 +00:00
bdc34
0b2dc61fbe Working on custom forms in freemarker. 2010-11-17 17:40:04 +00:00
yuysun
aba71e6913 Update GetClassAllProperties.java to sort the properties in alphabetical order. 2010-11-17 16:47:37 +00:00
rjy7
2ec80768e6 Exception handling in Widget.doMarkup() for exceptions not caught in the widget's process() method. 2010-11-17 16:22:05 +00:00
jeb228
b9230edaf2 NIHVIVO-1207 Make the external auth-header a configuration property. Clean up SelfEditingIdentifierFactory and VitroRequestPrep. 2010-11-17 15:48:19 +00:00
yuysun
c0e39512a8 Update siteadmin advancedDataTools 2010-11-17 14:06:59 +00:00
yuysun
62aae75893 SPARQL Query Builder with one property button. 2010-11-17 01:15:12 +00:00
yuysun
2e137e316b update SPARQL Query Builder rule validation. 2010-11-17 00:26:35 +00:00
rjy7
e0cc7a634b NIHVIVO-1177 Generate individual urls with externally linked namespaces 2010-11-17 00:24:15 +00:00
yuysun
f872582288 SPARQL Query Builder v1.0 with data and object property buttons separately. 2010-11-17 00:15:14 +00:00
rjy7
174c548b27 NIHVIVO-151. Display the DisplayMessage on the next page loaded. Clear the message from the session. Added sample display markup to page templates. 2010-11-16 19:09:03 +00:00
rjy7
02864178f5 Added urls.theme to template data model and changed paths containing themeDir to use urls.theme 2010-11-16 18:32:08 +00:00
rjy7
2b2d522f45 Change from boolean requiresLogin() to requiresLoginLevel() so that pages can require a specific login level. Remove login level checks from Freemarker controllers and handle using requiresLoginLevel() instead. If a user is already logged in and navigates or gets redirected to login page, show a message instead of a blank page. 2010-11-16 16:53:50 +00:00
jeb228
279c083d89 VIVO-241 Fix VitroRequestPrep.isSelfEditing(), which should fix the controllers that rely on this call. Previously, this worked correctly only for "fake" self-editing. 2010-11-16 16:13:55 +00:00
rjy7
9435d42a87 Use login widget on login page (committing files that got skipped in r6451). Add help() method to WidgetDirective. 2010-11-16 15:10:10 +00:00
rjy7
252edbe863 Use login widget on login page. 2010-11-16 14:44:01 +00:00
rjy7
2973ceebf2 NIHVIVO-1296 Integrate login functionality into login widget. 2010-11-15 22:17:20 +00:00
jeb228
73b881a805 Add debug statements 2010-11-15 22:04:05 +00:00