19 package org.turro.action;
21 import java.util.logging.Level;
22 import java.util.logging.Logger;
23 import org.turro.collections.parser.ParserException;
24 import org.turro.string.Strings;
25 import org.turro.annotation.Secret;
26 import org.turro.collections.KeyValueMap;
27 import org.turro.reflection.Instances;
40 }
catch (ParserException ex) {
41 Logger.getLogger(
Secrets.class.getName()).log(Level.SEVERE,
null, ex);
49 }
catch (ParserException ex) {
50 Logger.getLogger(
Secrets.class.getName()).log(Level.SEVERE,
null, ex);
57 T value = iSecret.<T>
get(kvm);
65 public static boolean isSecret(String key, Object value) {
67 if(iSecret.is(key, value)) {
74 private static boolean isEmpty(Object value) {
75 if(value instanceof String) {
76 return Strings.isBlank((String) value);
static String getSecret(String keys)
static< T > T getObject(String keys)
static< T > T getObject(KeyValueMap kvm)
static boolean isSecret(String key, Object value)