for portal 2.4 we needed the same...
One solution could be modifying: core/src/resources/portal-server-war/login.jsp
like:
<%
| final String userIDHeaderAttribute = "userID";
| String userIDHeaderValue = request.getHeader(userIDHeaderAttribute);
|
| if ((userIDHeaderValue != null) && (userIDHeaderValue.length() > 0))
| {
| %>
| <body OnLoad="document.loginform.submit();">
| <B>Logging in...</B>
| <form method="post" action="<%= response.encodeURL("j_security_check")
%>" name="loginform" id="loginForm" target="_top">
| <input type="hidden" name="j_username" value="<%= userIDHeaderValue
%>"/>
| <input type="hidden" name="j_password" value=""/>
| </form>
| </body>
| <%
| }
| else
| {
|
and rebuild the portal.sar afterwards
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062922#4062922
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062922
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user