New modules/authentication.cfg

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6564 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Stuart Lewis
2011-08-19 03:04:51 +00:00
parent 290116cb7e
commit 686e5fffed
4 changed files with 21 additions and 10 deletions

View File

@@ -49,7 +49,7 @@ public class AuthenticationManager
{
/** List of authentication methods, highest precedence first. */
private static AuthenticationMethod methodStack[] =
(AuthenticationMethod[])PluginManager.getPluginSequence(AuthenticationMethod.class);
(AuthenticationMethod[])PluginManager.getPluginSequence("authentication", AuthenticationMethod.class);
/**
* Test credentials for authenticity.

View File

@@ -0,0 +1,10 @@
# Stack of authentication methods
# (See org.dspace.authenticate.AuthenticationManager)
#
# Example:
# plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
# org.dspace.authenticate.ShibAuthentication, \
# org.dspace.authenticate.PasswordAuthentication
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
org.dspace.authenticate.PasswordAuthentication