shiro-ext | Extensions for Apache Shiro | Security Framework library
kandi X-RAY | shiro-ext Summary
kandi X-RAY | shiro-ext Summary
This project contains [Apache Shiro] "Apache Shiro") extensions. For now only x509 related extensions are available.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create an authentication token
- Loads a PEM bundle
- Rebuild the PEM bundle from the http header value
- Reads the X509CertificateChain from the PEM file
- Checks to see if the certificate matches the certificate
- Get X509CertificateStore
- Get the certificate store selector
- Gets the trust anchor anchors
- Check if the clientDN matches the subjectDN
- Returns a string representation of the specified X500Principal
- Returns the issuer distinguished name
- Determines if two X500 principals are equal
- Check if the client certificates match the client
- Gets the X509 certificate
- Do X509Credentials match
- Get the hex serial number
- Creates an authentication token from the shiro client
- Returns true if the authentication token matches
- Obtain the X509AuthenticationInfo for the given authentication token
shiro-ext Key Features
shiro-ext Examples and Code Snippets
Community Discussions
Trending Discussions on shiro-ext
QUESTION
I have created a Shiro Realm to use with x509 certs based on this extension.
The "protected X509AuthenticationInfo doGetX509AuthenticationInfo(X509AuthenticationToken token)
" method is executed (i.e. getAuthenticationInfo(token)
), validates my user and seems to execute the return X509AuthenticationInfo
.
However, after that, the page stays blank! It is not redirected anywhere. If I use instead "anon", or the basic authentication, then my page is displayed correctly (to verify that the page should not be blank). What can be happening?
shiro.ini
...ANSWER
Answered 2017-Jun-30 at 19:40I think I have discovered what is happening...
I am missing a Credential Matcher in my .ini:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shiro-ext
You can use shiro-ext 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 shiro-ext 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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page