Configuring PAM for REST API
Describes how to configure the JPAM login for REST API.
About this task
Procedure
-
Edit the following file:
/opt/mapr/adminuiapp/webapp/WEB-INF/jpamlogin.conf
-
Remove the following text:
jpamLogin { net.sf.jpam.jaas.JpamLoginModule required serviceName="sudo" debug=true; };
-
In place of the previous text, add the following:
jpamLogin { net.sf.jpam.jaas.JpamLoginModule Sufficient serviceName="sudo" debug=true; net.sf.jpam.jaas.JpamLoginModule Sufficient serviceName="sshd" debug=true; net.sf.jpam.jaas.JpamLoginModule Sufficient serviceName="mapr-admin" debug=true; };