buji-pac4j | Bridge from the pac4j security library to Shiro | Authentication library

 by   bujiio Java Version: 8.1.0 License: Apache-2.0

kandi X-RAY | buji-pac4j Summary

kandi X-RAY | buji-pac4j Summary

buji-pac4j is a Java library typically used in Security, Authentication applications. buji-pac4j has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

The buji-pac4j project is an easy and powerful security library for Shiro web applications and web services which supports authentication and authorization, but also advanced features like CSRF protection. It's based on Java 11, Shiro 1.8 and on the pac4j security engine v5. It's available under the Apache 2 license. OAuth - SAML - CAS - OpenID Connect - HTTP - Google App Engine - Kerberos - LDAP - SQL - JWT - MongoDB - CouchDB - IP address - REST API. Roles / permissions - Anonymous / remember-me / (fully) authenticated - Profile type, attribute - CORS - CSRF - Security headers - IP address, HTTP method.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              buji-pac4j has a low active ecosystem.
              It has 481 star(s) with 122 fork(s). There are 43 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              buji-pac4j has no issues reported. On average issues are closed in 40 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of buji-pac4j is 8.1.0

            kandi-Quality Quality

              buji-pac4j has 0 bugs and 0 code smells.

            kandi-Security Security

              buji-pac4j has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              buji-pac4j code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              buji-pac4j is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              buji-pac4j releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              buji-pac4j saves you 331 person hours of effort in developing the same functionality from scratch.
              It has 818 lines of code, 85 functions and 13 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed buji-pac4j and discovered the below as its top functions. This is intended to give you an instant insight into buji-pac4j implemented functionality, and help decide if they suit your requirements.
            • Gets the basic authorization info from principals collection
            • Gets the list of all profiles of the authenticated user
            • Extracts the authentication information from a principal
            • Get the profiles
            • Returns the name of the principal
            • Returns the main profile of the authenticated user
            • Save all the profiles
            • Populate the authenticated user profiles in the shiro subject
            • Ensures that the authentication token was created
            • Returns true if this record is remembered
            • Get value from session
            • Returns the shiro session
            • Returns a string representation of this object
            • Builds session store from trackable session
            • Returns the cached credentials
            • Returns a hashcode of profiles
            • Gets the framework ini
            • Gets the trackable session
            • Compares this Pac4Principal to another
            • Logout the user
            • Destroys the session
            • Sets the config
            • Sets the value for the session
            • Gets session id
            • Gets the principal
            Get all kandi verified functions for this library.

            buji-pac4j Key Features

            No Key Features are available at this moment for buji-pac4j.

            buji-pac4j Examples and Code Snippets

            No Code Snippets are available at this moment for buji-pac4j.

            Community Discussions

            Trending Discussions on buji-pac4j

            QUESTION

            shiro buji pac4j cas single sign out not work
            Asked 2020-Mar-29 at 02:33

            spring boot 2.2.5

            shiro-spring-boot-web-starter 1.5.1

            buji-pac4j 4.1.1

            pac4j-cas 3.8.3

            cas overlay template 5.3.

            I start cas server in tomcat with https, and start two clients(pac4j1 and pac4j2) in eclipse.

            single sign on works, but single sign out failed.

            Following are my configs:

            I only added one service file under cas server which looks like:

            ...

            ANSWER

            Answered 2020-Mar-29 at 02:33

            with the help of the link SLO which provided by leopal, i know that cas server need to send log out request back to client.

            Hence, i checked the log of cas server and found INFO [org.apereo.cas.logout.DefaultLogoutManager] - .

            so i added log for org.apereo.cas.logout and found that there are some classes about logout: DefaultLogoutManager, DefaultSingleLogoutServiceLogoutUrlBuilder, DefaultSingleLogoutServiceMessageHandler and SimpleUrlValidator.

            when performing logout, DefaultSingleLogoutServiceLogoutUrlBuilder.determineLogoutUrl will get the logout url from registered service or get the original url from cas client if original url is a valid url.

            So my problem is : i didn't define logout url in service json file and the original url from cas client is localhost:8444 which is a invalid ipv4. As a result, cas server will not send logout request back to client.

            Solution is : use ip in project url instead of localhost in application.yml of cas client:

            Source https://stackoverflow.com/questions/60884213

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install buji-pac4j

            You can download it from GitHub, Maven.
            You can use buji-pac4j like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the buji-pac4j component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/bujiio/buji-pac4j.git

          • CLI

            gh repo clone bujiio/buji-pac4j

          • sshUrl

            git@github.com:bujiio/buji-pac4j.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Authentication Libraries

            supabase

            by supabase

            iosched

            by google

            monica

            by monicahq

            authelia

            by authelia

            hydra

            by ory

            Try Top Libraries by bujiio

            buji-guice

            by bujiioJava

            buji-spring

            by bujiioJava

            buji-aspectj

            by bujiioJava

            buji-openid

            by bujiioJava

            buji-quartz

            by bujiioJava