cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Wulff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FEDIZ-36) Http Form Based Login
Date Fri, 14 Dec 2012 20:58:13 GMT

    [ 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

Mime
View raw message