You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Oliver Wulff (JIRA)" <ji...@apache.org> on 2012/12/14 21:58:13 UTC

[jira] [Commented] (FEDIZ-36) Http Form Based Login

    [ https://issues.apache.org/jira/browse/FEDIZ-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532655#comment-13532655 ] 

Oliver Wulff commented on FEDIZ-36:
-----------------------------------

I committed the patch but I'm wondering what the purpose of the following code snippet is in the jsp:
		<%
		Set<String> ctx = new HashSet<String>();
		Field[] fields = FederationFilter.class.getFields();
		for (Field f : fields) {
			if(f.getName().startsWith("PARAM_") && String.class.equals(f.getType())) { 
				String key = (String) f.get(null);
				Object value = request.getAttribute(key);
				if(null != value && value instanceof String) {
					%>
		<input type="hidden" name="<%=key%>" value="<%=value%>" readonly="readonly" />
					<%
				}
			}
		}
		%>
                
> Http Form Based Login
> ---------------------
>
>                 Key: FEDIZ-36
>                 URL: https://issues.apache.org/jira/browse/FEDIZ-36
>             Project: CXF-Fediz
>          Issue Type: New Feature
>          Components: IDP
>    Affects Versions: 1.1.0
>            Reporter: Oliver Wulff
>            Assignee: Oliver Wulff
>
> Add support for HTTP Form Based Authentication as IDP supports HTTP Basic Authentication only.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira