我遇到了问题,我想用Spring Security解决它,我正在使用Java 1.7,Spring MVC 4.3,Tiles 3,Eclipse Neon和CSS。
我不想为每个用户创建不同的上下文(/ admin / normaluser或/ dba)我只希望/ myPanel给每个人,但是当有人登录时,只是为了向他显示不同的菜单。
此外,我在瓷砖碎片上的菜单可能吗?
感谢您的帮助。
注意 - 我在前面退出了新的,用于开发后端。
答案 0 :(得分:2)
您可以使用Spring安全性taglib相应地呈现视图。 你这样做:
# Taking input from both the files
$file1= Get-Content E:\Source_Test\invoice1.txt
$file2= Get-Content E:\Source_Test\invoice2.txt
# Ignoring the case sensitivity . So making it to lowercase. Parsing it to get non duplicates in each file and appendind the result to the file
($file1).tolower() |sort | Get-Unique | Out-File E:\source_test\NonDuplicate.txt -Append -Force
($file2).tolower() |sort | Get-Unique | Out-File E:\source_test\NonDuplicate.txt -Append -Force
# Getting the data from both the files and again taking the non-duplicates and finally storing in the file
$file3=Get-Content E:\Source_Test\NonDuplicate.txt
($file3).ToLower() | sort | Get-Unique | Out-File E:\Source_Test\nonduplicate.txt -Force
经过身份验证的访客用户和访客用户都将使用相同的网址,但内容会根据其身份验证状态而有所不同