Hello,

I just subscribed to this list. Hopefully I'm right here with my request.

I'm using shiro in my oss and employers eco system to implement security. And I 
did some around improvements and maybe it will be possible to move some of them 
in the library itself - or change behaviour if possible.

One of them is the option to provide additional information about the subject. 
LDAP or other sources are already implemented ans so it is also possible to 
provide information like email, address, first, last name and more.

Therefore I implemented an interface 

https://github.com/mhus-info/mhus-lib/blob/master/lib-core/src/main/java/de/mhus/lib/core/aaa/PrincipalDataRealm.java
 
<https://github.com/mhus-info/mhus-lib/blob/master/lib-core/src/main/java/de/mhus/lib/core/aaa/PrincipalDataRealm.java>

and a container object

https://github.com/mhus-info/mhus-lib/blob/master/lib-core/src/main/java/de/mhus/lib/core/aaa/PrincipalData.java
 
<https://github.com/mhus-info/mhus-lib/blob/master/lib-core/src/main/java/de/mhus/lib/core/aaa/PrincipalData.java>

and tooling (not so important)

https://github.com/mhus-info/mhus-lib/blob/1569bfc3dbae18c2df913fa8ab1ea63c99250ae8/lib-core/src/main/java/de/mhus/lib/core/aaa/Aaa.java#L568
 
<https://github.com/mhus-info/mhus-lib/blob/1569bfc3dbae18c2df913fa8ab1ea63c99250ae8/lib-core/src/main/java/de/mhus/lib/core/aaa/Aaa.java#L568>


to extend realm behaviour.




I could prepare a pull request if wanted.


Best regards,

Mike

Reply via email to