| | |
| | | testZeroOptions(); |
| | | } |
| | | |
| | | // @Test |
| | | @Test |
| | | public void testInvalidOption() { |
| | | String user = "aaa00"; |
| | | String grantingTicketURL = cas.getGrantingTicketURL(user); |
| | | Map<String, Object> setParams = new HashMap<String, Object>(); |
| | | Map<String, String> whereParams = new HashMap<String, String>(); |
| | | // setParams.put("user", "aaa00"); |
| | | List<String> optionslist = new ArrayList<String>(); |
| | | optionslist.add("invalide"); |
| | | setParams.put("domainoptions", optionslist); |
| | |
| | | String grantingTicketURL = cas.getGrantingTicketURL(user); |
| | | Map<String, Object> setParams = new HashMap<String, Object>(); |
| | | Map<String, String> whereParams = new HashMap<String, String>(); |
| | | // setParams.put("user", "aaa00"); |
| | | List<String> optionslist = new ArrayList<String>(); |
| | | optionslist.add("graylisting"); |
| | | setParams.put("domainoptions", optionslist); |
| | |
| | | String grantingTicketURL = cas.getGrantingTicketURL(user); |
| | | Map<String, Object> setParams = new HashMap<String, Object>(); |
| | | Map<String, String> whereParams = new HashMap<String, String>(); |
| | | // setParams.put("user", "aaa00"); |
| | | List<String> optionslist = new ArrayList<String>(); |
| | | optionslist.add("htdocsfallback"); |
| | | optionslist.add("graylisting"); |