Project

General

Profile

« Previous | Next » 

Revision 59821

[Users | Trunk]: Add client secret method

View differences:

registeredServices.jsp
143 143
                                        <p><span class="uk-text-primary">Service Id:</span> ${services[key].clientId}</p>
144 144
                                        <p><span class="uk-text-primary">Scope:</span> openid</p>
145 145
                                        <p><span class="uk-text-primary">Grant type:</span> client credentials</p>
146
                                        <p><span class="uk-text-primary">Authentication Method</span> Asymmetrically-signed JWT assertion</p>
147
                                        <p><span class="uk-text-primary">Token Endpoint Authentication Signing Algorithm</span> RSASSA using
148
                                            SHA-256 hash algorithm</p>
149
                                        <p><span class="uk-text-primary">Public Key</span>
150
                                        <pre><code>${keys[key]}</code></pre>
151
                                        </p>
146
                                        <c:choose>
147
                                            <c:when test="${registeredService.keyType == null}">
148
                                                <p><span class="uk-text-primary">Client secret:</span> ${services[key].clientSecret}</p>
149
                                                <p><span class="uk-text-primary">Authentication Method</span> Client Secret Basic</p>
150
                                            </c:when>
151
                                            <c:otherwise>
152
                                                <p><span class="uk-text-primary">Authentication Method</span> Asymmetrically-signed JWT assertion</p>
153
                                                <p><span class="uk-text-primary">Token Endpoint Authentication Signing Algorithm</span> RSASSA using
154
                                                    SHA-256 hash algorithm</p>
155
                                                <p><span class="uk-text-primary">Public Key</span>
156
                                                <pre><code>${keys[key]}</code></pre>
157
                                                </p>
158
                                            </c:otherwise>
159
                                        </c:choose>
152 160
                                        <p><span class="uk-text-primary">Creation Date:</span>
153 161
                                            <jsp:useBean id="date" class="java.util.Date"/>
154 162
                                            <jsp:setProperty name="date" property="time" value="${services[key].clientIdIssuedAt*1000}"/>

Also available in: Unified diff