mirror of
https://github.com/Telecominfraproject/wlan-cloud-rrm.git
synced 2025-10-29 17:52:24 +00:00
update comment around token validation to clarify behavior (#87)
Signed-off-by: Jun Woo Shin <jwoos@fb.com>
This commit is contained in:
@@ -302,9 +302,9 @@ public class ApiServer implements Runnable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate an OpenWiFi token (external), caching successful lookups. Both normal
|
||||
* token and subtoken is checked in the validateToken call already so there is
|
||||
* no need to call validateSubToken separately.
|
||||
* Validate an OpenWiFi token (external), caching successful lookups. This will
|
||||
* validate a USER token - subscriber token won't work and will fail (plus only
|
||||
* users should be dealing with RRM).
|
||||
* @return true if token is valid
|
||||
*/
|
||||
private boolean validateOpenWifiToken(String token) {
|
||||
|
||||
Reference in New Issue
Block a user