Skip to content

RoundTripAuthenticationValidator docs show type is passed invalidate callback #2

@D010101

Description

@D010101

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions