router.setDefaultMatchingMode(Template.MODE_STARTS_WITH);
security = new SecurityGuard(context);
security.setNext(router);
final IdentityFilter filter = new IdentityFilter(context,security,new Reference(authLink.getLink().toString()));
vhost.attachDefault(filter);
this.context.getAttributes().put(IdentityManager.ATTR, new IdentityManager() {
public void add(String id,Identity identity) {
filter.addIdentity(id, identity);
}
public boolean remove(String id)
{