Lines Matching defs:props
51 * fits the security policy properties found in props.
53 * @param props The security policy properties to check
56 public static boolean checkPolicy(int flags, Map props) {
57 if (props == null) {
61 if ("true".equalsIgnoreCase((String)props.get(Sasl.POLICY_NOPLAINTEXT))
65 if ("true".equalsIgnoreCase((String)props.get(Sasl.POLICY_NOACTIVE))
69 if ("true".equalsIgnoreCase((String)props.get(Sasl.POLICY_NODICTIONARY))
73 if ("true".equalsIgnoreCase((String)props.get(Sasl.POLICY_NOANONYMOUS))
77 if ("true".equalsIgnoreCase((String)props.get(Sasl.POLICY_FORWARD_SECRECY))
81 if ("true".equalsIgnoreCase((String)props.get(Sasl.POLICY_PASS_CREDENTIALS))
91 * subset that conforms to the policies defined in props.
92 * Useful for SaslXXXFactory.getMechanismNames(props) implementations.
96 Map props) {
97 if (props == null) {
104 if (passed[i] = checkPolicy(policies[i], props)) {