In IS 5.4.0-m2 SSO login page we can see couple of hyper links for Forgot
Password, Forgot Username, Register Now as below.
Actually how it renders is
<%
url = new URL(identityMgtEndpointContext +
"/recoverpassword.do?callback=" + Encode.forHtmlAttribute
(urlEncodedURL));
httpURLConnection = (HttpURLConnection) url.openConnection();
httpURLConnection.setRequestMethod("HEAD");
httpURLConnection.connect();
if (httpURLConnection.getResponseCode() ==
HttpURLConnection.HTTP_OK) {
%>
<a id="passwordRecoverLink" href="<%=url%>">Forgot Password </a>
<br/><br/>
<%
}
So every time when user goes to SSO login page need to send 3 http requests
to render 3 hyper links. Also if any of API raises back-end exception, bad
stack trace will be printed as below.
WARN {org.apache.cxf.phase.PhaseInterceptorChain} - Application {
http://endpoint.recovery.identity.carbon.wso2.org/}ClaimsApi has thrown
exception, unwinding now
org.apache.cxf.interceptor.Fault
Is there a better way to handle this situation ?
Thanks,
Gayan
--
Gayan Gunawardana
Senior Software Engineer; WSO2 Inc.; http://wso2.com/
Email: [email protected]
Mobile: +94 (71) 8020933
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev