Package com.ssgllc.fish.config.mcp
Class McpSecurityConfig
java.lang.Object
com.ssgllc.fish.config.mcp.McpSecurityConfig
MCP tool configuration for security inspection.
Provides five tools for understanding role-based and attribute-level security as it is currently loaded in the permission cache:
get-entity-security— entity-level permission bounds and attribute expressionsget-field-security-for-entity— field-level permission bounds and attribute expressionsget-role-security— effective entity permissions for a role across its full hierarchylist-roles— all roles with name, displayName, description, and direct parentsget-user-details— user properties, effective roles, and userTokenFields attributes
All results reflect the live in-memory permission cache; stale data may appear if the
cache has not been refreshed after a configuration change. Use refresh-caches
(from McpConfigurationConfig) to force a reload.
Active only when spring.ai.mcp.server.enabled=true.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTool implementations for security inspection. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
McpSecurityConfig
public McpSecurityConfig()
-