Hi Steinar, I started some test projects, you can take a look here:
https://github.com/fpapon/shiro-labs regards, François [email protected] Le 24/07/2019 à 12:32, Steinar Bang a écrit : >>>>>> Francois Papon <[email protected]>: >> Thoughts? > I'm excited to see this, because of authservice > > https://github.com/steinarb/authservice#forms-based-nginx-login-and-pluggable-shiro-auth-in-karaf > > I'm currently doing configuration as a combination of > 1. OSGi service dependency injection (that's how I get the Realm and > the SessionDAO) into the web whiteboard shiro filter DS component > > https://github.com/steinarb/authservice/blob/master/authservice.web.security/src/main/java/no/priv/bang/authservice/web/security/AuthserviceShiroFilter.java#L63 > 2. Code in the DS component of the whiteboard shiro filter (and the > WebIniSecurityManagerFactory() I'm using her is deperecated so I've > be happy to replace it once I figure out what it can be replaced > with...) > > https://github.com/steinarb/authservice/blob/master/authservice.web.security/src/main/java/no/priv/bang/authservice/web/security/AuthserviceShiroFilter.java#L74 > 3. A shiro.ini file handling URL to user/role/permission mapping (can't > use this for the rest of the config because I get class not found > exception)
