Project

General

Profile

« Previous | Next » 

Revision 60339

Adding hints for service registration.

View differences:

registerService.jsp
220 220
    function checkRadio() {
221 221
        var securityLevel = $('input[type=radio][name=security_level]:checked').val();
222 222
        if(securityLevel === 'basic') {
223
            $("#security-hint").html('Basic Security level hint');
223
            $("#security-hint").html('Register your service to get a client id and a client secret. Use the client id and secret to make your requests. <a href="" target="_blank">Read more...</a>');
224 224
            $("#public-key").hide();
225 225
        } else {
226
            $("#security-hint").html('Advanced Security level hint');
226
            $("#security-hint").html('Register your service to get a client id. Declare your public key and instead of using the client secret to make a request, send a client assertion (JWT) signed with your private key. <a href="" target="_blank">Read more...</a>');
227 227
            var keyType = $('input[type=radio][name=key_type]:checked').val();
228 228
            $("#public-key").show();
229 229
            if (keyType === 'uri') {

Also available in: Unified diff