Project

General

Profile

« Previous | Next » 

Revision 60339

Adding hints for service registration.

View differences:

modules/dnet-openaire-users/trunk/src/main/webapp/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') {
modules/dnet-openaire-users/trunk/src/main/webapp/registeredServices.jsp
83 83
                            <li>
84 84
                                <div class="uk-grid uk-child-width-1-4 uk-text-muted" uk-grid>
85 85
                                    <div>Name</div>
86
                                    <div>Service Id</div>
86
                                    <div>Client Id</div>
87 87
                                    <div>Creation Date</div>
88 88
                                    <div>Actions</div>
89 89
                                </div>
......
140 140
                                <li id="details${registeredService.id}" hidden="hidden">
141 141
                                    <div class="uk-alert">
142 142
                                        <p><span class="uk-text-primary">Name:</span> ${services[key].clientName}</p>
143
                                        <p><span class="uk-text-primary">Service Id:</span> ${services[key].clientId}</p>
143
                                        <p><span class="uk-text-primary">Client 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 146
                                        <c:choose>
modules/dnet-openaire-users/trunk/pom.xml
58 58
            <version>3.0.1</version>
59 59
        </dependency>
60 60
        <dependency>
61
            <groupId>eu.dnetlib</groupId>
62
            <artifactId>uoa-user-management</artifactId>
63
            <version>2.0.0-SNAPSHOT</version>
64
        </dependency>
65
        <dependency>
66 61
            <groupId>org.springframework.security</groupId>
67 62
            <artifactId>spring-security-core</artifactId>
68 63
            <version>4.2.1.RELEASE</version>

Also available in: Unified diff