security context是什么意思中文翻譯、發(fā)音、用法及例句(securitycontext)
1、security context
security context發(fā)音
英: 美:
security context中文意思翻譯
安全上下文
安全背景
security context雙語(yǔ)使用場(chǎng)景
1、In the security context of the name and password that are specified in the connection string used to connect to the network resource.───在用于連接網(wǎng)絡(luò )資源的連接字符串中指定的名稱(chēng)和密碼的安全上下文中。
2、A principal object represents the user's security context, including that user's identity and any roles to which the user belongs.───主體對象代表用戶(hù)的安全上下文,其中包括該用戶(hù)的標識和用戶(hù)所屬的任何角色。
3、Accepts a security context created by the context initiator.───接受由上下文發(fā)起者創(chuàng )建的安全上下文。
4、Retrieves the security context that MSMQ associates with the current user (thread identity) at the time of this call.───檢索進(jìn)行此調用時(shí)MSMQ將當前用戶(hù)(線(xiàn)程標識)關(guān)聯(lián)到的安全上下文。
5、The path for each variable is usually relative to the security context of the application or tool.───每個(gè)變量的路徑通常是相對于應用程序或工具的安全上下文的。
6、This helps you to ensure that each step in the application runs in a security context with only the privileges necessary for that step.───這有助于確保應用程序中的每個(gè)步驟都僅以該步驟所必需的特權在安全上下文中運行。
7、security context is created.───創(chuàng )建安全上下文。
8、In particular, do not infer trust from the keyword protected, which is not necessarily used in the security context.───特別是,不要從關(guān)鍵字protected來(lái)推斷信任程度,該關(guān)鍵字不一定用于安全性上下文中。
9、Other filters may edit the security context.───其他過(guò)濾器可以編輯安全上下文。
security context相似詞語(yǔ)短語(yǔ)
1、social context───社會(huì )背景;社會(huì )環(huán)境;社會(huì )情境
2、context clues───上下文線(xiàn)索
3、security───n.安全,安全性;保證;證券;抵押品;adj.安全的;保安的;保密的
4、high context───高語(yǔ)境
5、context───n.環(huán)境;上下文;來(lái)龍去脈
6、context travel───語(yǔ)境旅游
7、context synonym───上下文同義詞
8、assimilatory context───同化語(yǔ)境
9、linguistic context───語(yǔ)言語(yǔ)境;語(yǔ)言的前后關(guān)系
2、springsecurity攔截器的順序是什么?
Spring Security 中的攔截器順序主要依賴(lài)于 FilterChainProxy,它是一個(gè) Servlet 過(guò)濾器(Filter),用于啟動(dòng) Spring Security 過(guò)濾器鏈。
FilterChainProxy 本質(zhì)上是一個(gè)過(guò)濾器鏈,該鏈包含了多個(gè) Spring Security 過(guò)濾器,按順序執行。一般情況下,Spring Security 過(guò)濾器的執行順序如下:
1. 執行 Spring Security 提供的 ChannelProcessingFilter。該過(guò)濾器負責判斷 SSL/TLS 請求是否正確,并正確地將 HTTP 請求轉換成 HTTPS 請求。
2. 執行 Spring Security 提供的 SecurityContextPersistenceFilter。該過(guò)濾器用于從數據源中加載 SecurityContext,并將其添加到請求的安全上下文中。
3. 執行 Spring Security 提供的 ConcurrentSessionFilter。該過(guò)濾器用于控制用戶(hù)的并發(fā)登錄數,當用戶(hù)同時(shí)在多個(gè)設備或瀏覽器登錄時(shí),會(huì )出現并發(fā)登錄的問(wèn)題,該過(guò)濾器會(huì )攔截該問(wèn)題。
4. 執行 Spring Security 提供的 WebAsyncManagerIntegrationFilter。該過(guò)濾器用于將 WebAsyncManager 與 SecurityContext 集成,以確保 SecurityContext 在 WebAsyncTask 和 DeferredResult 中可用。
5. 執行用戶(hù)自定義的 Filter。這個(gè)過(guò)濾器主要是處理實(shí)際的業(yè)務(wù)邏輯,比如處理用戶(hù)認證登錄或鑒權等。
6. 執行 Spring Security 提供的 LogoutFilter。該過(guò)濾器用于處理用戶(hù)注銷(xiāo)操作。
7. 執行 Spring Security 提供的 UsernamePasswordAuthenticationFilter。該過(guò)濾器用于處理基于用戶(hù)名和密碼的認證,通常用于表單登錄。
8. 執行 Spring Security 提供的 DefaultLoginPageGeneratingFilter。該過(guò)濾器用于根據配置文件生成登錄頁(yè),并將其添加到 HTML 中。
9. 執行 Spring Security 提供的 DefaultLogoutPageGeneratingFilter。該過(guò)濾器用于根據配置文件生成注銷(xiāo)頁(yè),并將其添加到 HTML 中。
10. 執行 Spring Security 提供的 ExceptionTranslationFilter。該過(guò)濾器用于處理 Spring Security 中所有的異常,比如用戶(hù)認證失敗等。
總之,Spring Security 的過(guò)濾器鏈比較復雜,其運行順序取決于 FilterChainProxy 中的過(guò)濾器順序。了解 Spring Security 過(guò)濾器鏈的運作方式有助于開(kāi)發(fā)人員更好地使用 Spring Security 的功能。
版權聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權,不承擔相關(guān)法律責任,不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責。如因作品內容、版權和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報,一經(jīng)查實(shí),本站將立刻刪除。