#
#  This is a LOCAL realm
#
realm example.com {
	nostrip
}

#
#  And another one, where we strip the realm
#
realm stripped.example.com {

}

#
#  Some home servers, server pools, and realms.  This tests that
#  the server can load them.  Functionality is in another test.
#
home_server auth_one {
	type = auth
	ipaddr = 127.0.0.1
	port = 12360
	secret = testing123
}

home_server auth_two {
	type = auth
	ipaddr = 127.0.0.1
	port = 12370
	secret = testing123
}

server_pool fail-over {
	type = fail-over
	home_server = auth_one
	home_server = auth_two
}

server_pool load-balance {
	type = load-balance
	home_server = auth_one
	home_server = auth_two
}

server_pool client-balance {
	type = client-balance
	home_server = auth_one
	home_server = auth_two
}

realm fail-over {
	auth_pool = fail-over
}

realm load-balance {
	auth_pool = load-balance
}

realm client-balance {
	auth_pool = client-balance
}
