Posts

Geoserver Map Fish Print Configuration & Example Script index. html  <head>     <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.3.1/css/ol.css" type="text/css">     <style>       .map {         height: 400px;         width: 100%;       }     </style>     <script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.3.1/build/ol.js"></script>   <title>OpenLayers example</title>   </head> <div id="map"></div>    <a id="export-pdf"><span id="button-label" class="btn btn-info"> Export(pdf)</span></a> <script>  var URL = 'http://localhost:9090/geoserver/test/wms';  var centerpos = [84.2, 28.2];  var newpos = ol.proj.transform(centerpos, 'EPSG...
Geoserver Print Module Geoserver print process involves two steps. First at the  server side , you have to configure your yaml file, called config.yaml. Go through the detailed documentation at  MapFish print module documentation page . Once this done, the second step is for  client side . Considering you are using openlayers for your front-end, in order to get the list of visible layers, you will need a simple loop with visibility check, e.g. var layers = "" ; for ( var i = 0 ; i < map . layers . length ; i ++) { if ( map . layers [ i ]. visibility == true ){ //get a string of visible layers layers = layers + map . layers [ i ]. name + ',' } } //remove the trailing ',' layers = layers . slice ( 0 , - 1 ); var maptitle = "This is the map title" ; var mapcomment = "This is the map comment" var printurl = "http://host:post/geoserver/pdf/print.pdf?spec={" units ...
Python for Everyone Course  Link :  http://www.py4inf.com/ Book with all materials and lessons :  https://www.py4e.com/ PPTS :
Node Js Non-Blocking IO Overview of Blocking vs Non-Blocking This overview covers the difference between  blocking  and  non-blocking  calls in Node.js. This overview will refer to the event loop and libuv but no prior knowledge of those topics is required. Readers are assumed to have a basic understanding of the JavaScript language and Node.js  callback pattern . "I/O" refers primarily to interaction with the system's disk and network supported by  libuv . Blocking Blocking  is when the execution of additional JavaScript in the Node.js process must wait until a non-JavaScript operation completes. This happens because the event loop is unable to continue running JavaScript while a  blocking  operation is occurring. In Node.js, JavaScript that exhibits poor performance due to being CPU intensive rather than waiting on a non-JavaScript operation, such as I/O, isn't typically referred to as  blocking . Synchronous methods in t...
Auth0 URL  https://dev--15yis6i.auth0.com/decision?state=g6Fo2SBOd0k0aXFZUkxGbGN4MktKZzV6eWJXVktHc3Nna3kyd6N0aWTZIGRGUFg2LTlTd3diTWtPOXk5T1V1NXdSd1h0LWN6X0FHo2NpZNkgSVFVTFZoV0VBZWFOZE5LRWlLcmp5N2lPVFhxM1hoR2k GIthub Flux Dashboard https://github.com/syamasundararao/fluxdashboard Auth0 github https://github.com/syamasundararao/Auth0 Result of Auth0
Image
How to secure Your App with Auth0 https://manage.auth0.com/dashboard/us/dev--15yis6i/     -- Google mail Auth0 provides authentication and authorization as a service. Rapidly integrate authentication and authorizatin for web, mobile and legacy applications so you can focus on your core business. How to Secure your App 1) Form based Login 2) JWT Token Based And Password less 3) Machine to Machine Agenda Authentication vs. authorization. OAuth 2.0 and its flows. Implementing authorization code grant flow with OpenID in a React app with popup and redirection UX. Authentication vs. Authorization Authentication means that we only want to identify the user who’s trying to log into an application. It’s a way of identifying the users to make sure they are who they are claiming to be. simple example is username/password Authentication --- who are you Authorization --- Are you allowed Authorization, on the other hand, is a way of “authorizing” t...
Image
Third Party oAuth Providers A third party provides the OAuth token presented by a client application. API Connect must determine if the token is valid and either allow or disallow API access. Add caption The exchange proceeds as follows. 1. The client application requests an OAuth token from the third party OAuth provider. The provider requires credentials from the client, which are validated by the third party provider. The client obtains a token. 2. The client application sends an API access request to an endpoint managed by API Connect. This request must contain the OAuth token and an API Connect Application ID (and perhaps an optional Secret). API Connect Application ID is used to identify the application to API Connection, it is used for quota enforcement and optional auditing. The application can provide the credential that APIc needs for 3rd party OAuth provider, by including an x-introspect-basic-authorization header in the request. If the client does not have...