}
@Override
public boolean isEndpointAccessible(String endpoint) throws IllegalArgumentException {
try {
DbHelper db = new DbHelper(new File(getServletContext().getRealPath("/")), getThreadLocalRequest());
AccessibilityStatus status = AccessibilityStatus.UNCHECKED;
try {
db.isEndpointAccessible(db.getEndpointId(endpoint, EndpointPrivateFlag.OWN_AND_PUBLIC));
} catch (EndpointIdException e) {
//do nothing, endpoint not known yet. i.e., leave status 'unchecked'
}
if (status == AccessibilityStatus.UNCHECKED) {