/** Login configuration for CMCS **/

CMCS {
  com.sourceforge.knecs.security.jaas.PasswordLoginModule required debug=true;
};

/** NOTE
 *  The following are from SAM.
 *  They are merged here so that SAM and CMCS can both use JAAS and
 *  also both live under the same tomcat.
 */

/* Default Slide login module. (Works like the SlideRealm) */
SAM_Slide {
   org.scidac.sam.security.authenticate.SlideLoginModule required
      debug     = true
      namespace = sam
      digest    = none;
};

/* Simple login module for testing JAAS configuration. */
SAM_Simple {
   org.scidac.sam.security.authenticate.SimpleLoginModule required
      debug    = true
      user     = root
      password = hello
      roles    = "user,root,admin";
};