in geronimo-jaspi-openid/src/main/java/org/apache/geronimo/components/jaspi/modules/openid/OpenIDServerAuthModule.java [118:136]
private void setErrorPage(String path) throws AuthException {
if (path == null) {
throw new AuthException("No error page specified with key " + ERROR_PAGE_KEY);
}
if (path == null || path.trim().length() == 0) {
errorPath = null;
errorPage = null;
} else {
if (!path.startsWith("/")) {
path = "/" + path;
}
errorPage = path;
errorPath = path;
if (errorPath.indexOf('?') > 0) {
errorPath = errorPath.substring(0, errorPath.indexOf('?'));
}
}
}