From 529c53f0eb63040735b4cad7806cef6d5e65144b Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 02 Feb 2008 19:57:52 +0000 Subject: check if return_to matches realm Signed-off-by: Michael Krelin --- (limited to 'include') diff --git a/include/opkele/exception.h b/include/opkele/exception.h index 5c8418e..33f89cc 100644 --- a/include/opkele/exception.h +++ b/include/opkele/exception.h @@ -357,6 +357,15 @@ namespace opkele { : exception(OPKELE_E_CONS) { } }; + /** + * thrown if return_to URL doesn't match realm + */ + class bad_return_to : public exception { + public: + bad_return_to(OPKELE_E_PARS) + : exception(OPKELE_E_CONS) { } + }; + } #endif /* __OPKELE_EXCEPTION_H */ -- cgit v0.9.0.2