Giter Site home page Giter Site logo

wso2-permission-client's Introduction

wso2-permission-client

Client to automate external permission creation in WSO2 Identity Server.

  • Input data

    This client requires a two columned CSV formatted input data file.

    1.First value - String with display name of the permission. (Property value)

    2.Second value - Unique and Numeric value for the permission id. (Collection name)

##Instrunctions

  1. Clone the repo and build parent pom using mvn clean install
  2. Copy and extract the built artifact org.wso2.permission.client-1.0-SNAPSHOT-bundle.zip from the $target directory.
  3. Do the configurations.properties file changes appropriately.
    1. admin.username - Tenant admin user to authenticate the service stubs. Use the fully qualified user name with tenant domain. (Eg. [email protected])
    2. admin.password - password of tenant admin.
    3. backend.url - Host and port of the Identity Server.
    4. truststore - name of the client truststore file.
    5. truststore.password - client trust store password.
    6. truststore.type - Client trust store type.
    7. registry.parent.path - Registry path where the new permissions should be created
    8. permisssions.csv.file - File name of the permissions csv file described above.
  4. Place the permissions.csv file in the extracted folder.
  5. Run the client using java -jar ./org.wso2.permission.client-1.0-SNAPSHOT-jar-with-dependencies.jar command.
  6. Observe the logs in created log.out file.

wso2-permission-client's People

Contributors

nipunthathsara avatar

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.