The docs for the RoundTripAuthenticationValidator state that the "type" is passed in the invalidate endpoint call:
https://github.com/red5pro/red5pro-simple-auth-plugin/blob/master/red5proroundtripauthvalidator.md#invalidate-credentials
However, the type parameter is not passed in the call. I looked at the code and the invalidate callback appears to only apply to publisher connections, not subscriber connections.
|
if (conn.hasAttribute("roletype") && conn.getStringAttribute("roletype").equals("publisher") |
Not sure if just the docs need to be corrected, or if the functionality in the invalidate is missing the type parameter in the invalidate callback.
The docs for the RoundTripAuthenticationValidator state that the "type" is passed in the invalidate endpoint call:
https://github.com/red5pro/red5pro-simple-auth-plugin/blob/master/red5proroundtripauthvalidator.md#invalidate-credentials
However, the type parameter is not passed in the call. I looked at the code and the invalidate callback appears to only apply to publisher connections, not subscriber connections.
red5pro-simple-auth-plugin/src/main/java/com/red5pro/server/plugin/simpleauth/datasource/impl/roundtrip/RoundTripAuthValidator.java
Line 565 in aa09893
Not sure if just the docs need to be corrected, or if the functionality in the invalidate is missing the type parameter in the invalidate callback.