SAML FIX
This commit is contained in:
@@ -359,6 +359,8 @@ apps.saml.encrypted.yes=\u52A0\u5BC6
|
||||
apps.saml.metadata.emailAddress=\u7535\u5B50\u90AE\u7BB1
|
||||
apps.saml.nameidFormat=Nameid Format
|
||||
apps.saml.v1.1.info=SAML 1.1 \u8BA4\u8BC1\u914D\u7F6E
|
||||
apps.saml.signature=\u7B7E\u540D\u7B97\u6CD5
|
||||
apps.saml.digestMethod=\u6458\u8981\u65B9\u6CD5
|
||||
#oauth
|
||||
apps.oauth.approvalPrompt.force=\u5F3A\u5236
|
||||
apps.oauth.accessTokenValiditySeconds=accessToken\u6709\u6548\u671F
|
||||
|
||||
@@ -358,6 +358,8 @@ apps.saml.encrypted.yes=yes
|
||||
apps.saml.metadata.emailAddress=emailAddress
|
||||
apps.saml.nameidFormat=Nameid Format
|
||||
apps.saml.v1.1.info=SAML 1.1 Info
|
||||
apps.saml.signature=Signature
|
||||
apps.saml.digestMethod=Digest Method
|
||||
#oauth
|
||||
apps.oauth.approvalPrompt.force=force
|
||||
apps.oauth.accessTokenValiditySeconds=accessTokenValiditySeconds
|
||||
|
||||
@@ -51,16 +51,49 @@ $(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th><@locale code="apps.saml.issuer" />:</th>
|
||||
<td colspan =3>
|
||||
<td>
|
||||
<input type="text" class="form-control" id="issuer" name="issuer" title="" value="" required="" />
|
||||
</td>
|
||||
<th><@locale code="apps.saml.audience" />:</th>
|
||||
<td >
|
||||
<input type="text" class="form-control" id="audience" name="audience" title="" value="" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><@locale code="apps.saml.audience" />:</th>
|
||||
<td colspan =3>
|
||||
<input type="text" class="form-control" id="audience" name="audience" title="" value="" required="" />
|
||||
<th><@locale code="apps.saml.signature" />:</th>
|
||||
<td>
|
||||
<select id="signature" name="signature" class="form-control" >
|
||||
<option value="RSAwithSHA1" selected>RSAwithSHA1</option>
|
||||
<option value="RSAwithSHA256" >RSAwithSHA256</option>
|
||||
<option value="RSAwithSHA384" >RSAwithSHA384</option>
|
||||
<option value="RSAwithSHA512" >RSAwithSHA512</option>
|
||||
<option value="RSAwithMD5" >RSAwithMD5</option>
|
||||
<option value="RSAwithRIPEMD160" >RSAwithRIPEMD160</option>
|
||||
<option value="DSAwithSHA1" >DSAwithSHA1</option>
|
||||
<option value="ECDSAwithSHA1" >ECDSAwithSHA1</option>
|
||||
<option value="ECDSAwithSHA256" >ECDSAwithSHA256</option>
|
||||
<option value="ECDSAwithSHA384" >ECDSAwithSHA384</option>
|
||||
<option value="ECDSAwithSHA512" >ECDSAwithSHA512</option>
|
||||
<option value="HMAC-MD5" >HMAC-MD5</option>
|
||||
<option value="HMAC-SHA1" >HMAC-SHA1</option>
|
||||
<option value="HMAC-SHA256" >HMAC-SHA256</option>
|
||||
<option value="HMAC-SHA384" >HMAC-SHA384</option>
|
||||
<option value="HMAC-SHA512" >HMAC-SHA512</option>
|
||||
<option value="HMAC-RIPEMD160" >HMAC-RIPEMD160</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<th><@locale code="apps.saml.digestMethod" />:</th>
|
||||
<td>
|
||||
<select id="digestMethod" name="digestMethod" class="form-control" >
|
||||
<option value="MD5" >MD5</option>
|
||||
<option value="SHA1" selected>SHA1</option>
|
||||
<option value="SHA256" >SHA256</option>
|
||||
<option value="SHA384" >SHA384</option>
|
||||
<option value="SHA512" >SHA512</option>
|
||||
<option value="RIPEMD-160" >RIPEMD-160</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<th><@locale code="apps.saml.nameidFormat" />:</th>
|
||||
|
||||
@@ -58,24 +58,59 @@ $(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th><@locale code="apps.saml.entityId" />:</th>
|
||||
<td colspan =3>
|
||||
<td >
|
||||
<input type="text" class="form-control" id="entityId" name="entityId" title="" value="${model.entityId!}" required="" />
|
||||
</td>
|
||||
<td></td>
|
||||
<td >
|
||||
<a target="_blank" href="${maxKeyURI}/metadata/saml20/${model.id}.xml"> SAML MetaData</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><@locale code="apps.saml.issuer" />:</th>
|
||||
<td colspan =3>
|
||||
<td >
|
||||
<input type="text" class="form-control" id="issuer" name="issuer" title="" value="${model.issuer!}" required="" />
|
||||
</td>
|
||||
<th><@locale code="apps.saml.audience" />:</th>
|
||||
<td colspan =2>
|
||||
<input type="text" class="form-control" id="audience" name="audience" title="" value="${model.audience!}" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><@locale code="apps.saml.audience" />:</th>
|
||||
<td colspan =2>
|
||||
<input type="text" class="form-control" id="audience" name="audience" title="" value="${model.audience!}" required="" />
|
||||
</td>
|
||||
<td >
|
||||
<a target="_blank" href="${maxKeyURI}/metadata/saml20/${model.id}.xml"> SAML MetaData</a>
|
||||
<th><@locale code="apps.saml.signature" />:</th>
|
||||
<td>
|
||||
<select id="signature" name="signature" class="form-control" >
|
||||
<option value="RSAwithSHA1" <#if 'RSAwithSHA1'==model.signature>selected</#if>>RSAwithSHA1</option>
|
||||
<option value="RSAwithSHA256" <#if 'RSAwithSHA256'==model.signature>selected</#if>>RSAwithSHA256</option>
|
||||
<option value="RSAwithSHA384" <#if 'RSAwithSHA384'==model.signature>selected</#if>>RSAwithSHA384</option>
|
||||
<option value="RSAwithSHA512" <#if 'RSAwithSHA512'==model.signature>selected</#if>>RSAwithSHA512</option>
|
||||
<option value="RSAwithMD5" <#if 'RSAwithMD5'==model.signature>selected</#if>>RSAwithMD5</option>
|
||||
<option value="RSAwithRIPEMD160" <#if 'RSAwithRIPEMD160'==model.signature>selected</#if>>RSAwithRIPEMD160</option>
|
||||
<option value="DSAwithSHA1" <#if 'DSAwithSHA1'==model.signature>selected</#if>>DSAwithSHA1</option>
|
||||
<option value="ECDSAwithSHA1" <#if 'ECDSAwithSHA1'==model.signature>selected</#if>>ECDSAwithSHA1</option>
|
||||
<option value="ECDSAwithSHA256" <#if 'ECDSAwithSHA256'==model.signature>selected</#if>>ECDSAwithSHA256</option>
|
||||
<option value="ECDSAwithSHA384" <#if 'ECDSAwithSHA384'==model.signature>selected</#if>>ECDSAwithSHA384</option>
|
||||
<option value="ECDSAwithSHA512" <#if 'ECDSAwithSHA512'==model.signature>selected</#if>>ECDSAwithSHA512</option>
|
||||
<option value="HMAC-MD5" <#if 'HMAC-MD5'==model.signature>selected</#if>>HMAC-MD5</option>
|
||||
<option value="HMAC-SHA1" <#if 'HMAC-SHA1'==model.signature>selected</#if>>HMAC-SHA1</option>
|
||||
<option value="HMAC-SHA256" <#if 'HMAC-SHA256'==model.signature>selected</#if>>HMAC-SHA256</option>
|
||||
<option value="HMAC-SHA384" <#if 'HMAC-SHA384'==model.signature>selected</#if>>HMAC-SHA384</option>
|
||||
<option value="HMAC-SHA512" <#if 'HMAC-SHA512'==model.signature>selected</#if>>HMAC-SHA512</option>
|
||||
<option value="HMAC-RIPEMD160" <#if 'HMAC-RIPEMD160'==model.signature>selected</#if>>HMAC-RIPEMD160</option>
|
||||
</select>
|
||||
</td>
|
||||
<th><@locale code="apps.saml.digestMethod" />:</th>
|
||||
<td>
|
||||
<select id="digestMethod" name="digestMethod" class="form-control" >
|
||||
<option value="MD5" <#if 'MD5'==model.digestMethod>selected</#if>>MD5</option>
|
||||
<option value="SHA1" <#if 'SHA1'==model.digestMethod>selected</#if>>SHA1</option>
|
||||
<option value="SHA256" <#if 'SHA256'==model.digestMethod>selected</#if>>SHA256</option>
|
||||
<option value="SHA384" <#if 'SHA384'==model.digestMethod>selected</#if>>SHA384</option>
|
||||
<option value="SHA512" <#if 'SHA512'==model.digestMethod>selected</#if>>SHA512</option>
|
||||
<option value="RIPEMD-160" <#if 'RIPEMD-160'==model.digestMethod>selected</#if>>RIPEMD-160</option>
|
||||
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:15%;"><@locale code="apps.saml.nameidFormat" />:</th>
|
||||
|
||||
Reference in New Issue
Block a user