/* Tests of the behvior of the control flags with multiple login modules. 1) Required - The LoginModule is required to succeed. If it succeeds or fails, authentication still continues to proceed down the LoginModule list. 2) Requisite - The LoginModule is required to succeed. If it succeeds, authentication continues down the LoginModule list. If it fails, control immediately returns to the application (authentication does not proceed down the LoginModule list). 3) Sufficient - The LoginModule is not required to succeed. If it does succeed, control immediately returns to the application (authentication does not proceed down the LoginModule list). If it fails, authentication continues down the LoginModule list. 4) Optional - The LoginModule is not required to succeed. If it succeeds or fails, authentication still continues to proceed down the LoginModule list. */ case1 { org.jboss.test.TestLoginModule required name=1.1 succeed=true throwEx='false' ; # A comment org.jboss.test.TestLoginModule optional name=1.2 succeed=false throwEx="true" ; }; // Another comment case2 { org.jboss.test.TestLoginModule optional name=2.1 succeed=true throwEx='false' ; # A comment org.jboss.test.TestLoginModule optional name=2.2 succeed=false throwEx="true" ; }; srp-test { // Put your login modules that work without jBoss here org.jboss.security.srp.jaas.SRPLoginModule required password-stacking="useFirstPass" principalClassName="org.jboss.security.SimplePrincipal" srpServerJndiName="SRPServerInterface" debug=true ; // jBoss LoginModule org.jboss.security.ClientLoginModule required password-stacking="useFirstPass" ; // Put your login modules that need jBoss here };