added a TODO and fixed some comment typos.
parent
9a6f345e15
commit
0d882faeca
|
@ -120,6 +120,7 @@ public class UserInfoView extends AbstractView {
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
||||||
|
//TODO: Error Handling
|
||||||
logger.error("IOException in UserInfoView.java: ", e);
|
logger.error("IOException in UserInfoView.java: ", e);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -178,7 +179,7 @@ public class UserInfoView extends AbstractView {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build a JSON response according to the request object recieved.
|
* Build a JSON response according to the request object received.
|
||||||
*
|
*
|
||||||
* Claims requested in requestObj.userinfo.claims are added to any
|
* Claims requested in requestObj.userinfo.claims are added to any
|
||||||
* claims corresponding to requested scopes, if any.
|
* claims corresponding to requested scopes, if any.
|
||||||
|
@ -203,7 +204,7 @@ public class UserInfoView extends AbstractView {
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: this mehod is likely to be fragile if the data model changes at all
|
// TODO: this method is likely to be fragile if the data model changes at all
|
||||||
|
|
||||||
//For each claim found, add it if not already present
|
//For each claim found, add it if not already present
|
||||||
for (Entry<String, JsonElement> i : claims.getAsJsonObject().entrySet()) {
|
for (Entry<String, JsonElement> i : claims.getAsJsonObject().entrySet()) {
|
||||||
|
|
Loading…
Reference in New Issue