*/
public static <T> void configure(Configurable <T> cfg,
T newValue) throws SecurityException {
if (newValue == null)
throw new IllegalArgumentException("Default value cannot be null");
SecurityContext policy = (SecurityContext) SecurityContext.getCurrentSecurityContext();
if (!policy.isConfigurable(cfg))
throw new SecurityException(
"Configuration disallowed by SecurityContext");
T oldValue = cfg._value;