1 19 20 package com.sslexplorer.security; 21 22 23 public class DefaultClientRestriction implements ClientRestriction { 24 25 private String osName; 26 private String propertyName; 27 private boolean allow; 28 private String exceptions; 29 30 public DefaultClientRestriction(String osName, String propertyName, boolean allow, String exceptions) { 31 super(); 32 this.osName = osName; 33 this.propertyName = propertyName; 34 this.allow = allow; 35 this.exceptions = exceptions; 36 } 37 38 public boolean getAllow() { 39 return allow; 40 } 41 42 public void setAllow(boolean allow) { 43 this.allow = allow; 44 } 45 46 public String getExceptions() { 47 return exceptions; 48 } 49 50 public void setExceptions(String exceptions) { 51 this.exceptions = exceptions; 52 } 53 public String getOsName() { 54 return osName; 55 } 56 57 public void setOsName(String osName) { 58 this.osName = osName; 59 } 60 61 public String getPropertyName() { 62 return propertyName; 63 } 64 65 public void setPropertyName(String propertyName) { 66 this.propertyName = propertyName; 67 } 68 } 69 | Popular Tags |