@Override public BootstrapSession begin(String endpoint, Identity clientIdentity) { boolean authorized; if (bsSecurityStore != null) { List<SecurityInfo> securityInfos = bsSecurityStore.getAllByEndpoint(endpoint); authorized = securityChecker.checkSecurityInfos(endpoint, clientIdentity, securityInfos); } else { authorized = true; } return new DefaultBootstrapSession(endpoint, clientIdentity, authorized); }