NIHVIVO-2694 Let "showAuth" show the current authenticator.
This commit is contained in:
parent
b0649849ce
commit
16c36079db
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ import edu.cornell.mannlib.vitro.webapp.auth.requestedAction.ifaces.RequestedAct
|
|||
import edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.EditObjPropStmt;
|
||||
import edu.cornell.mannlib.vitro.webapp.config.ConfigurationProperties;
|
||||
import edu.cornell.mannlib.vitro.webapp.controller.VitroRequest;
|
||||
import edu.cornell.mannlib.vitro.webapp.controller.authenticate.Authenticator;
|
||||
import edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet;
|
||||
import edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ResponseValues;
|
||||
import edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.TemplateResponseValues;
|
||||
|
@ -50,6 +51,7 @@ public class ShowAuthController extends FreemarkerHttpServlet {
|
|||
body.put("factories", getIdentifierFactoryNames(vreq));
|
||||
body.put("policies", ServletPolicyList.getPolicies(vreq));
|
||||
body.put("matchingProperty", getMatchingProperty(vreq));
|
||||
body.put("authenticator", Authenticator.getInstance(vreq));
|
||||
|
||||
return new TemplateResponseValues("admin-showAuth.ftl", body);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue