Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ai.yda.framework.channel.rest.spring.streaming - package ai.yda.framework.channel.rest.spring.streaming
- ai.yda.framework.channel.rest.spring.streaming.security - package ai.yda.framework.channel.rest.spring.streaming.security
- ai.yda.framework.channel.rest.spring.streaming.session - package ai.yda.framework.channel.rest.spring.streaming.session
- ai.yda.framework.channel.rest.spring.streaming.web - package ai.yda.framework.channel.rest.spring.streaming.web
- authenticate(Authentication) - Method in class ai.yda.framework.channel.rest.spring.streaming.security.TokenAuthenticationManager
-
Authenticates the given
Authenticationrequest by comparing its credentials with the stored token key hash.
C
- CONFIG_PREFIX - Static variable in class ai.yda.framework.channel.rest.spring.streaming.RestSpringStreamingProperties
-
The configuration prefix used to reference properties related to this Channel in application configurations.
- convert(ServerWebExchange) - Method in class ai.yda.framework.channel.rest.spring.streaming.security.TokenAuthenticationConverter
-
Converts the given
ServerWebExchangeto anreactor.core.publisher.Mono<ai.yda.framework.channel.shared.TokenAuthentication>.
D
- defaultFilterChain(ServerHttpSecurity, RestSpringStreamingProperties) - Method in class ai.yda.framework.channel.rest.spring.streaming.security.SecurityConfiguration
-
This Channel security configuration is used when 'security-token' property is not configured.
F
- filter(ServerWebExchange, WebFilterChain) - Method in class ai.yda.framework.channel.rest.spring.streaming.security.TokenAuthenticationFilter
-
Filters the request to authenticate the user based on the token.
- filter(ServerWebExchange, WebFilterChain) - Method in class ai.yda.framework.channel.rest.spring.streaming.session.SessionHandlerFilter
- filterChain(ServerHttpSecurity, RestSpringStreamingProperties) - Method in class ai.yda.framework.channel.rest.spring.streaming.security.SecurityConfiguration
-
This Channel security configuration is used when 'security-token' property is configured.
G
- get(String) - Method in class ai.yda.framework.channel.rest.spring.streaming.session.RestReactiveSessionProvider
-
Retrieves an object from the Session associated with the specified key.
O
- onAuthenticationSuccess(Authentication, WebFilterExchange) - Method in class ai.yda.framework.channel.rest.spring.streaming.security.TokenAuthenticationFilter
-
Handles the success of authentication by saving the security context and invoking the success handler.
P
- processRequest(RagRequest) - Method in class ai.yda.framework.channel.rest.spring.streaming.web.RestStreamingChannel
-
Processes the incoming
RagRequestby delegating it to theStreamingAssistant. - put(String, Object) - Method in class ai.yda.framework.channel.rest.spring.streaming.session.RestReactiveSessionProvider
-
Stores an object in the Session with the specified key.
R
- RestReactiveSessionProvider - Class in ai.yda.framework.channel.rest.spring.streaming.session
-
Provides methods for storing and retrieving data associated with a Session using a key-value store within a REST context in a reactive manner.
- RestReactiveSessionProvider() - Constructor for class ai.yda.framework.channel.rest.spring.streaming.session.RestReactiveSessionProvider
-
Default constructor for
RestReactiveSessionProvider. - RestSpringStreamingAutoConfiguration - Class in ai.yda.framework.channel.rest.spring.streaming
-
Contains an autoconfiguration for the streaming REST Channel in the Spring application.
- RestSpringStreamingAutoConfiguration() - Constructor for class ai.yda.framework.channel.rest.spring.streaming.RestSpringStreamingAutoConfiguration
-
Default constructor for
RestSpringStreamingAutoConfiguration. - RestSpringStreamingProperties - Class in ai.yda.framework.channel.rest.spring.streaming
-
Provides configuration properties for the streaming REST Spring Channel.
- RestSpringStreamingProperties() - Constructor for class ai.yda.framework.channel.rest.spring.streaming.RestSpringStreamingProperties
-
Default constructor for
RestSpringStreamingProperties. - RestStreamingChannel - Class in ai.yda.framework.channel.rest.spring.streaming.web
-
Provides REST controller logic that handles incoming requests for processing using a streaming assistant.
- RestStreamingChannel(StreamingAssistant<RagRequest, RagResponse>) - Constructor for class ai.yda.framework.channel.rest.spring.streaming.web.RestStreamingChannel
-
Constructs a new
RestStreamingChannelinstance with the specifiedStreamingAssistantinstance.
S
- SecurityConfiguration - Class in ai.yda.framework.channel.rest.spring.streaming.security
-
This is a Web Flux Spring Security configuration that sets up security settings for the streaming REST Channel.
- SecurityConfiguration() - Constructor for class ai.yda.framework.channel.rest.spring.streaming.security.SecurityConfiguration
-
Default constructor for
SecurityConfiguration. - SessionHandlerFilter - Class in ai.yda.framework.channel.rest.spring.streaming.session
-
Detects if a
WebSessionfor the currentServerWebExchangehas been started and starts one if it's not. - SessionHandlerFilter() - Constructor for class ai.yda.framework.channel.rest.spring.streaming.session.SessionHandlerFilter
-
Default constructor for
SessionHandlerFilter.
T
- TokenAuthenticationConverter - Class in ai.yda.framework.channel.rest.spring.streaming.security
-
Provides strategy used for converting from a
ServerWebExchangeto anreactor.core.publisher.Mono<ai.yda.framework.channel.shared.TokenAuthentication>. - TokenAuthenticationConverter() - Constructor for class ai.yda.framework.channel.rest.spring.streaming.security.TokenAuthenticationConverter
-
Default constructor for
TokenAuthenticationConverter. - TokenAuthenticationFilter - Class in ai.yda.framework.channel.rest.spring.streaming.security
-
Provides a reactive Spring Security filter that processes authentication requests containing a Bearer token in the Authorization header.
- TokenAuthenticationFilter(String, ServerSecurityContextRepository) - Constructor for class ai.yda.framework.channel.rest.spring.streaming.security.TokenAuthenticationFilter
-
Constructs a new
TokenAuthenticationFilterinstance with the specified token and security context repository. - TokenAuthenticationManager - Class in ai.yda.framework.channel.rest.spring.streaming.security
-
Provide mechanism to processes an
Authenticationrequest withTokenAuthenticationin the reactive manner. - TokenAuthenticationManager(String) - Constructor for class ai.yda.framework.channel.rest.spring.streaming.security.TokenAuthenticationManager
-
Constructs a new
TokenAuthenticationManagerinstance with the provided token.
All Classes and Interfaces|All Packages|Constant Field Values