Machine learning is sub set of artificial intelligence and it is study of systems that can learn from data. A machine learning system could be trained. Core of machine learning deals with representation and generalization. Machine learning is a "Field of study that gives computers the ability to learn without being explicitly programmed". A core objective of a learner is ...

WSO2 greg/product with IBM DB2 Here I am connecting IBM DB2 database Looking our privileges. Filtering user/group level Via our client [NOTE] Following statement retrieves all authorization names with privileges.SELECT DISTINCT GRANTEE, GRANTEETYPE, 'DATABASE' FROM SYSCAT.DBAUTH UNION SELECT DISTINCT GRANTEE, GRANTEETYPE, 'TABLE ' FROM SYSCAT.TABAUTH UNION SELECT DISTINCT GRANTEE, GRANTEETYPE, 'PACKAGE ' FROM SYSCAT.PACKAGEAUTH UNION SELECT DISTINCT GRANTEE, GRANTEETYPE, 'INDEX ' FROM SYSCAT.INDEXAUTH UNION SELECT ...

DB2 database and User Privileges IBM DB2 is a family of database server products developed by IBM. Here I was connecting DB2 and WSO2 products. Here I am show creating user and granting privilages for DB2 user. Here I have two user one is 'madhuka' and and second user is 'db2test1'. Madhuka have all the right (admin). db2test1 is standard user. I have db2 database ...

Real time event tracking in Gmail This really powerful feature and it work properly and nicely in Gmail As some one try to access my gamil account and gmail event track notice it as unusual activity and block it. And it send me sms same time It is realy time event monitor and it have block that use by accessing my my gmail Then I login ...

Mutual SSL with WSO2 Identity Server 1. Build mutual-ssl-authenticator soruce code on here. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/authenticators/mutual-ssl-authenticator/4.2.0/ 2. Build jar put it ‘wso2is-4.7.0\repository\components\dropins’ 3. Open ‘wso2is-4.7.0\repository\conf\tomcat\catelina-server.xml’ file and set clientAuth=”true” to make server to (always) expect two-way SSL authentication. 4. Extract WSO2 public certificate from <IS_Home>/repository/resources/security/wso2carbon.jks and add it

User Account Lock/Unlock in WSO2 IS Identity Server can be configured to lock a user when configurable number of login attempts are exceeded or via unlockUserAccount service. UnlockUserAccount service in https://localhost:9443/services/UserIdentityManagementAdminService?wsdl. Configuring lock time in the identity-mgt.properties file (this can be specified using the Authentication.Policy.Account.Lock.Time parameter). Now we can try this Out. 1. Update below parameters wso2is-4.6.0\repository\conf\security\identity-mgt.properties 2. Identity.Li

What is Helix? It used for the automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix automates reassignment of resources in the face of node failure and recovery, cluster expansion, and reconfiguration. Modeling a distributed system as a state machine with constraints on states and transitions. Terminologies Node : A single machine Cluster: Set ...

Apache ZooKeeper Intro and Sample ZooKeeper is an open source distributed configuration service, synchronization service, and naming registry for large distributed systems. ZooKeeper was a sub project of Hadoop. ZooKeeper's architecture supports high-availability through redundant services. It support naming service, configuration management, synchronization, leader election, message Queue and notification system. ZooKeeper is a high-performance coordination service for distributed applications “ZooKeeper: Because Coordinating Distributed S

Application Specific Permissions in WSO2 IS This new future coming in wso2 IS 4.7.0 where we can define application specific permission. First create service provider as below 1. Start IS and login to WSO2 IS and navigate to 'home -> Manage -> Service Providers -> add' 2. As it added you can find new role. it is create for this service provider 3. Now we will ...

Axis2 service from Dev Studio Here I am creating Axis2 service from Dev Studio, that is only take less than 2/3 mins. Those setup need to be in your finger tips. As it is most used in my blog post. 1. Open WSO2 Developer Studio Dashboard and select Axis2 Service Project 2. Then pick below one as we going to create new Axis 2 service. ...

WSO2Con Asia, 2014; Java scripted every where “Learn from world-changing innovators on how to be a Connected Business” Fifth WSO2Con will be happening at 24th to 26th March in Waters Edge Colombo, Sri Lanka. Guest keynote speakers and People from WSO2 will talk about how WSO2 products can help an organization become lean and agile. In wso2Con 2014 will have many interesting talks and tutorial over wso2 ...

WSO2Con timeline “WSO2Con Back in Asia” I just want to write wso2 con time line as there will be a WSO2Con in March, 2014 in Asia and it is fifty WSO2Con. I will be listing most important and highlighted talks in the events WSO2Con 2010 – Asia WSO2 con was start in 2010 and the event happen in HNB tower, Colombo. Here ...

WSO2Con Asia 2014 in Sri Lanka WSO2Con is back in to Asia and it will be held March 24-26, 2014 at Waters Edge in Battaramulla, Sri Lanka. It is the fifth WSO2Con user conference and previous conferences have taken places in WSO2Con Asia 2010/11 - Colombo WSO2Con Europe 2013 - London WSO2Con USA 2013 - San Francisco Since WSO2Con was hosted out of Sri Lanka for ...

Comparing JSON java testing When writting unit test It is worth to know how to comapre JSON correctly and with effective manner. You can try skyscreamer, Where I used to do jaggery json comparing. if you are comparing a string. Under the covers, JSONassert converts your string into a JSON object and compares the logical structure and data with the actual JSON. When strict ...

webSocket with jaggery (jaggeryjs sample) My last Post was "how Web Socket Implementation in Tomcat 7 and Jaggery[4]". Now we will write simple app with using jaggeryjs webSocket. Here I will give some Basic information on web socket Sample javaScript (Front end) code samples Handling cross-domain in web sockets WebSocket spec and types that support over it Where to used web scokets with web socket ...

Web Socket Implementation in Tomcat 7 and Jaggery Post will go from Evolution of web communication Web socket web socket implemented in Apache Tomcat 7 How we Develop Web socket feature for jaggery Tomcat 7 introduced a WebSocket implementation. introduced a WebSocket implementation. Firstly I will give web socket's benefits and limitations plus briefly web socket implemented in Apache Tomcat 7. WebSocket is considered as evolution of web ...

Writing HostObject for Jaggery In jaggery you can interact with java code from HostObject or jaggery modules[1], accessing java from JS code[2].Here I will give sample Host Object and steps to added such new hostObject for jaggeryjs 1. Using Host Object function straight using Host Object function.2. Embedding jar in to Host Object and using that jar with out expose embedded jar 1) WeatherHostObject ...

Virtual patching was invent by Intrusion Prevention System (IPS) vendors. It have different names including both External Patching and Just-in-time Patching. Why Not Just Fix the Code rather patching?This concept is universally agreed upon by both web application security experts and system owners. Unfortunately, in real world business situations, there arise many scenarios where updating the source code of a ...

Using java method from jaggery file From jaggery you can used java function/class/object/methods. Now I can tell this post also be prof of “Sell the JVM as a multi language platform”. A JVM language can share the Java libraries, and the Java Virtual Machine. It's really cooland powerful stuff to know and try. java source become java bytecode Rhino JS source also become java bytecode aggery ...

Jaggery Sync function In my last post I explain the use-case, with sample where jaggery face thread-safe issue. Now I used rhino sync (predefine keyword) and do some changes for jaggery core. Here We have sync(function) in jaggery. Let try this Add below line for init.jsvar obj = { f : sync(test) }; Now change our last sample jag files as below rather ...

Previous Page