Package org.apache.solr.security
Commonly used classes for Solr security framework.
-
Interface Summary Interface Description AuditLoggerPlugin.AuditEventFormatter Interface for formatting the eventAuditLoggerPlugin.MuteRule AuthorizationPlugin Authorization interface that needs to be implemented to write an authorization plugin.BasicAuthPlugin.AuthenticationProvider ConfigEditablePlugin An interface to be implemented by a Plugin whose Configuration is runtime editableHttpClientBuilderPlugin Plugin interface for configuring internal HttpClients.PermissionNameProvider A requestHandler should implement this interface to provide the well known permission at request timeVerifiedUserRoles Interface used to pass verified user roles in a Principal object. -
Class Summary Class Description AllowListUrlChecker Validates URLs based on an allow list or aClusterState
in SolrCloud.AuditEvent Audit event that takes request and auth context as input to be able to audit log custom things.AuditLoggerPlugin Base class for Audit logger plugins.AuditLoggerPlugin.JSONAuditEventFormatter Event formatter that returns event as JSON stringAuthenticationPlugin AuthorizationContext Request context for Solr to be used by Authorization plugin.AuthorizationContext.CollectionRequest AuthorizationResponse AuthorizationUtils AuthorizationUtils.AuthorizationFailure BasicAuthPlugin CertAuthPlugin An authentication plugin that sets principal based on the certificate subjectExternalRoleRuleBasedAuthorizationPlugin Rule Based Authz plugin implementation which reads user roles from the request.GetPublicKey V2 API implementation to fetch the public key of the receiving node.HttpServletAuthorizationContext AnAuthorizationContext
implementation that delegates many methods to an underlyingHttpServletRequest
MultiAuthPlugin Authentication plugin that supports multiple Authorization schemes, such as Bearer and Basic.MultiAuthRuleBasedAuthorizationPlugin Authorization plugin designed to work with the MultiAuthPlugin to support different AuthorizationPlugin per scheme.MultiDestinationAuditLogger Audit logger that chains other loggers.PKIAuthenticationPlugin PKIAuthenticationPlugin.PKIHeaderData PrintWriterWrapper Wrapper for PrintWriter that delegates to constructor argPublicKeyHandler RuleBasedAuthorizationPlugin Original implementation of Rule Based Authz plugin which configures user/role mapping in the security.json configurationRuleBasedAuthorizationPluginBase Base class for rule based authorization pluginsSecurityPluginHolder<T> Sha256AuthenticationProvider SolrLogAuditLoggerPlugin Audit logger that writes to the Solr log.SolrNodeKeyPair Creates and mediates access to the CryptoKeys.RSAKeyPair used by this Solr node. -
Enum Summary Enum Description AuditEvent.EventType AuditEvent.Level AuditEvent.RequestType AuthorizationContext.RequestType PermissionNameProvider.Name