Commit graph

1220 commits

Author SHA1 Message Date
jeb228
bdfe0d018d NIHVIVO-1399 create a servlet and template to use in faking external authentication. Add the info to web.xml, but commented out. 2010-11-28 22:35:07 +00:00
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
mb863
367fbc910c NIHVIVO-556: Making name selectors and markup consistent (using dash in between words VS camel notation), adding more aria roles, shortening selector names, just continuing cleaning markup for templates and optimizing css files. 2010-11-24 18:21:23 +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
0418489ec1 Remove unreferenced files. 2010-11-23 20:19:48 +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
mb863
ef94f673d2 NIHVIVO-1361: Removed fade in 2010-11-22 16:28:49 +00:00
bjl23
0a71b802df SDB code into trunk; not yet active by default 2010-11-22 16:24:00 +00:00
mb863
b2abc1f389 NIHVIVO-1361: Add less time for fading in alert messages. 2010-11-22 15:59:11 +00:00
mb863
19163bc6b3 decrease fade in time for error alert display 2010-11-19 21:25:33 +00:00
mb863
6196d46d60 Worked on styling login widget for Wilma theme 2010-11-19 20:54:16 +00:00
mb863
a3b8550e29 Fixed login widget for vivo-basic 2010-11-19 14:52:41 +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
bkoniden
6b750d946e committing changes (deletion of a css file, modifying one, Adding support for AutoEllipsis ) 2010-11-18 20:07:47 +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
mb863
239c38b3c3 NIHVIVO-1361: clean up, added login.css to stylesheets.ftl 2010-11-17 23:16:59 +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
mb863
6f4f1b4659 NIHVIVO-1382: more clean up for back-end pages 2010-11-17 19:28:49 +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
mb863
400977d912 NIHVIVO-556: Added edit.css in VITRO for styling back-end pages. 2010-11-17 16:20:24 +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
mb863
831d2209e9 NIHVIVO-634: Added aria roles for accessibility 2010-11-17 15:11:54 +00:00