Hello,

I was wondering - any thoughts of extending the Shiro API to support
asynchronous authentication/authorization e.g.:

interface Authenticator {
ListenableFuture<AuthenticationInfo> authenticate(AuthenticationToken
authenticationToken)
                                throws AuthenticationException;
}

I ask because I am working with an authentication backend which may have
significant latency (thus blocking a lot of threads). I am thinking of how
to fit it best in with Shiro. I am also using Shiro via ServletFilters so I
would be looking to see if I can take advantage of Servlet 3 asynchronous
features as well to minimize thread usage.

Just seeing if anyone may have thought about this.

thanks in advance,
Gareth Collins



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Asynchronous-Authentication-tp7579507.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to