Javadoc for method parameters added.
@@ -3379,6 +3379,8 @@ public class GridCacheProcessor extends GridProcessorAdapter {
/**
* Authorize creating cache.
+ * @param cfg Cache configuration.
+ * @param secCtx Optional security context.
*/
private void authorizeCacheCreate(CacheConfiguration cfg, SecurityContext secCtx) {
ctx.security().authorize(null, SecurityPermission.CACHE_CREATE, secCtx);
@@ -3390,6 +3392,7 @@ public class GridCacheProcessor extends GridProcessorAdapter {
/**
* Authorize dynamic cache management for this node.
+ * @param req start/stop cache request.
*/
private void authorizeCacheChange(DynamicCacheChangeRequest req) {
// Null security context means authorize this node.
