Spring Security 5.20 + SAML2

时间:2019-10-29 00:42:55

标签: spring-security saml-2.0 spring-security-saml2

是否可以启动限制于某些URL的SAML2身份验证过程?因此,我的想法是使用像/ saml2login这样的URL来启动所有SAML身份验证过程。

我尝试过类似的事情:

$CreateAccount = new-object -com "InternetExplorer.Application"
$CreateAccount.visible = $true  #this will be change to $false!
$CreateAccount.Navigate("https://www.test.com/account/create")

Start-Sleep -Milliseconds 5000; 

$CreateAccount.getElementByID("input_text_firstName").value = "TestFirstName"
$CreateAccount.getElementByID("input_text_lastName").value = "TestLastName"
$CreateAccount.getElementByID("input_email_uid").value = "Test@gmail.com"
$CreateAccount.getElementByID("input_email_uid").value = "Test@gmail.com"
$CreateAccount.getElementByID("input_tel_dateofbirthmonth").value = "1"
$CreateAccount.getElementByID("input_tel_dateofbirthday").value = "1"
$CreateAccount.getElementByID("input_tel_dateofbirthyear").value = "2001"
$CreateAccount.getElementById("input_password_password").checked= true;

但这不起作用

0 个答案:

没有答案