throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
SecurityConstraint[] constraints = context.findConstraints();
String[] stringConstraints = new String[constraints.length];
for(int counter=0; counter < constraints.length; counter++){
stringConstraints[counter]=constraints[counter].toString();
}