1 package org.ejbca.core.protocol.ws.objects; 2 3 4 import org.ejbca.util.query.BasicMatch; 5 6 public class UserMatch { 7 8 public static final int MATCH_WITH_USERNAME = org.ejbca.util.query.UserMatch.MATCH_WITH_USERNAME; 9 public static final int MATCH_WITH_EMAIL = org.ejbca.util.query.UserMatch.MATCH_WITH_EMAIL; 10 public static final int MATCH_WITH_STATUS = org.ejbca.util.query.UserMatch.MATCH_WITH_STATUS; public static final int MATCH_WITH_ENDENTITYPROFILE = org.ejbca.util.query.UserMatch.MATCH_WITH_ENDENTITYPROFILE; public static final int MATCH_WITH_CERTIFICATEPROFILE = org.ejbca.util.query.UserMatch.MATCH_WITH_CERTIFICATEPROFILE; public static final int MATCH_WITH_CA = org.ejbca.util.query.UserMatch.MATCH_WITH_CA; public static final int MATCH_WITH_TOKEN = org.ejbca.util.query.UserMatch.MATCH_WITH_TOKEN; 15 public static final int MATCH_WITH_DN = org.ejbca.util.query.UserMatch.MATCH_WITH_DN; 16 public static final int MATCH_WITH_UID = org.ejbca.util.query.UserMatch.MATCH_WITH_UID; 18 public static final int MATCH_WITH_COMMONNAME = org.ejbca.util.query.UserMatch.MATCH_WITH_COMMONNAME; 19 public static final int MATCH_WITH_DNSERIALNUMBER = org.ejbca.util.query.UserMatch.MATCH_WITH_DNSERIALNUMBER; 20 public static final int MATCH_WITH_GIVENNAME = org.ejbca.util.query.UserMatch.MATCH_WITH_GIVENNAME; 21 public static final int MATCH_WITH_INITIALS = org.ejbca.util.query.UserMatch.MATCH_WITH_INITIALS; 22 public static final int MATCH_WITH_SURNAME = org.ejbca.util.query.UserMatch.MATCH_WITH_SURNAME; 23 public static final int MATCH_WITH_TITLE = org.ejbca.util.query.UserMatch.MATCH_WITH_TITLE; 24 public static final int MATCH_WITH_ORGANIZATIONUNIT = org.ejbca.util.query.UserMatch.MATCH_WITH_ORGANIZATIONUNIT; 25 public static final int MATCH_WITH_ORGANIZATION = org.ejbca.util.query.UserMatch.MATCH_WITH_ORGANIZATION; 26 public static final int MATCH_WITH_LOCALE = org.ejbca.util.query.UserMatch.MATCH_WITH_LOCALE; 27 public static final int MATCH_WITH_STATE = org.ejbca.util.query.UserMatch.MATCH_WITH_STATE; 28 public static final int MATCH_WITH_DOMAINCOMPONENT = org.ejbca.util.query.UserMatch.MATCH_WITH_DOMAINCOMPONENT; 29 public static final int MATCH_WITH_COUNTRY = org.ejbca.util.query.UserMatch.MATCH_WITH_COUNTRY; 30 31 public static final int MATCH_TYPE_EQUALS = BasicMatch.MATCH_TYPE_EQUALS; 32 public static final int MATCH_TYPE_BEGINSWITH = BasicMatch.MATCH_TYPE_BEGINSWITH; 33 public static final int MATCH_TYPE_CONTAINS = BasicMatch.MATCH_TYPE_CONTAINS; 34 35 private int matchwith; 36 private int matchtype; 37 private String matchvalue; 38 39 40 public UserMatch(){} 41 42 49 public UserMatch(int matchwith, int matchtype, String matchvalue){ 50 this.matchwith = matchwith; 51 this.matchtype = matchtype; 52 this.matchvalue = matchvalue; 53 } 54 55 58 public int getMatchtype() { 59 return matchtype; 60 } 61 62 65 public void setMatchtype(int matchtype) { 66 this.matchtype = matchtype; 67 } 68 69 72 public String getMatchvalue() { 73 return matchvalue; 74 } 75 76 79 public void setMatchvalue(String matchvalue) { 80 this.matchvalue = matchvalue; 81 } 82 83 86 public int getMatchwith() { 87 return matchwith; 88 } 89 90 93 public void setMatchwith(int matchwith) { 94 this.matchwith = matchwith; 95 } 96 97 98 } 99 | Popular Tags |