SAML: Attribute format select in Manager (#87)

This commit is contained in:
Clément Oudot 2010-06-04 10:22:12 +00:00
parent 208a4f34d2
commit 241d972b07
2 changed files with 7 additions and 2 deletions

View File

@ -530,7 +530,12 @@ function samlAttribute(id) {
} }
$('#samlAttributeKey').attr('value',lmtext(id)); $('#samlAttributeKey').attr('value',lmtext(id));
$('#samlAttributeName').attr('value',t[1]); $('#samlAttributeName').attr('value',t[1]);
$('#samlAttributeFormat').attr('value',t[2]); formateSelect('samlAttributeFormat',[
'=',
'urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified=Unspecified',
'urn:oasis:names:tc:SAML:2.0:attrname-format:uri=URI',
'urn:oasis:names:tc:SAML:2.0:attrname-format:basic=Basic'
],t[2]);
$('#samlAttributeFriendlyName').attr('value',t[3]); $('#samlAttributeFriendlyName').attr('value',t[3]);
display('samlAttribute',lmtext(id)); display('samlAttribute',lmtext(id));
$('#newsamlattributeb,#delsamlattributeb').show(); $('#newsamlattributeb,#delsamlattributeb').show();

View File

@ -322,7 +322,7 @@
<td><lang en="Friendly name" fr="Nom alternatif"/></td> <td><lang en="Friendly name" fr="Nom alternatif"/></td>
<td><input type="text" id="samlAttributeFriendlyName" /></td> <td><input type="text" id="samlAttributeFriendlyName" /></td>
<td><lang en="Format" fr="Format"/></td> <td><lang en="Format" fr="Format"/></td>
<td><input type="text" id="samlAttributeFormat" /></td> <td><select id="samlAttributeFormat"></select></td>
</tr> </tr>
</table> </table>
<br /> <br />