Giter Club home page Giter Club logo

identity-conditional-auth-functions's Introduction

identity-conditional-auth-functions

identity-conditional-auth-functions's People

Contributors

afrahussaindeen avatar anuradhask avatar chanikaruchini avatar dewnimw avatar dhaura avatar dimuthnc avatar gayashanbc avatar hwupathum avatar janakamarasena avatar kanapriya avatar kayathiri4 avatar lashinijay avatar madurangasiriwardena avatar mevan-karu avatar nipunsampath avatar pasinduyeshan avatar pulasthi7 avatar rushannanayakkara avatar sachin-mamoru avatar sachinisiriwardene avatar sandushi avatar senthalan avatar shanggeeth avatar somindatommy avatar thamindudilshan avatar thanujalk avatar tharindu-b-hewage avatar thumimku avatar udeshathukorala avatar wso2-jenkins-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

identity-conditional-auth-functions's Issues

Tests fail when the carbon-identity-framework version is upgraded

Description:
When I was working on wso2/product-is#6012, I had to upgrade the POM file version reference of carbon-identity-framework from v5.12.60 to the latest, in order to use the UserSessionManagementService. This results in a test failure when building the product. The reason for the failure is as follows.

Affected Product Version: 0.1.35-SNAPSHOT

Steps to reproduce:
Upgrade POM file version reference of carbon-identity-framework to the latest and run $ mvn clean install

Unable to set session based validation properties

Description:
In order to use session based functions, specifically ones that use SessionValidationUtil, it is required that properties are set in identity.xml. The properties that need to be set are described here. For example, SessionBasedValidation.TableSearchURL.

The issue is that there is no relevant config mapping listed in the config-mapping repo. Because of this, when SessionValidationUtil attempts to get any "SessionBasedValidation" config properties they are null.

Suggested Labels:

Suggested Assignees:

Affected Product Version:
Identity Server 5.9.0 and later

OS, DB, other environment details and versions:
5.11.0 running in Docker

Steps to reproduce:

  • Add the session functions JAR to the dropins folder
  • Invoke a function, getSessionData for instance, in the Script Based Adaptive Authentication console
  • NPE is thrown because the URL returned from the properties is null

Snippet of the stacktrace:

java.lang.NullPointerException
	at java.base/java.net.URI$Parser.parse(URI.java:3104)
	at java.base/java.net.URI.<init>(URI.java:600)
	at java.base/java.net.URI.create(URI.java:881)
	at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
	at org.wso2.carbon.identity.conditional.auth.functions.session.util.SessionValidationUtil.createHttpRequest(SessionValidationUtil.java:158)
	at org.wso2.carbon.identity.conditional.auth.functions.session.util.SessionValidationUtil.getSessionDetails(SessionValidationUtil.java:69)
	at org.wso2.carbon.identity.conditional.auth.functions.session.function.GetSessionDataFunction.getData(GetSessionDataFunction.java:63)

Related Issues:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.