waffle

SSO waffle asking username and password

妖精的绣舞 提交于 2019-12-07 03:13:19
问题 I am trying to run demo of waffle 'waffle filter demo' download from http://repo1.maven.org/maven2/com/github/dblock/waffle/waffle-filter-demo/1.6/waffle-filter-demo-1.6.war I am using tomcat as servlet container and deployed the war file. When I try to access the server with URL http:// localhost:8080/waffle-filter-demo-1.6/ I am able to get authenticated through current windows login and my windows user is authenticated. But when I access the same url using IP address http:// 192.168.2.63

SSO waffle asking username and password

不问归期 提交于 2019-12-05 08:30:33
I am trying to run demo of waffle 'waffle filter demo' download from http://repo1.maven.org/maven2/com/github/dblock/waffle/waffle-filter-demo/1.6/waffle-filter-demo-1.6.war I am using tomcat as servlet container and deployed the war file. When I try to access the server with URL http:// localhost:8080/waffle-filter-demo-1.6/ I am able to get authenticated through current windows login and my windows user is authenticated. But when I access the same url using IP address http:// 192.168.2.63:8080/waffle-filter-demo-1.6/. Waffle is asking me to enter username and password. Anyone came across

Migrating a Waffle Spring Security XML configuration to Spring Boot

守給你的承諾、 提交于 2019-12-05 01:26:26
问题 I'm trying to use Waffle authentication with Spring Security, in a Spring Boot fashion. Expected result is 'block everything if Negotiate fails'. Waffle project provides a configuration example for this kind of use case (there is in this example a fallback to simple HTTP auth if Negotiate fails, which I don't need), assuming configuration is done through web.xml . But despite many attempts, I don't understand how to plug Waffle with Spring Security using Boot and Java-only configuration. I'm

What is this Waffle SSO example doing

ぐ巨炮叔叔 提交于 2019-12-05 00:11:41
问题 I'm trying to implement a SSO on Windows (in Java). Recently I discovered this example doing exactly what I want to do with Waffle: // client credentials handle IWindowsCredentialsHandle credentials= WindowsCredentialsHandleImpl.getCurrent("Negotiate"); credentials.initialize(); // initial client security context WindowsSecurityContextImpl clientContext = new WindowsSecurityContextImpl(); clientContext.setPrincipalName(Advapi32Util.getUserName()); clientContext.setCredentialsHandle

Migrating a Waffle Spring Security XML configuration to Spring Boot

你说的曾经没有我的故事 提交于 2019-12-03 16:49:47
I'm trying to use Waffle authentication with Spring Security, in a Spring Boot fashion. Expected result is 'block everything if Negotiate fails'. Waffle project provides a configuration example for this kind of use case (there is in this example a fallback to simple HTTP auth if Negotiate fails, which I don't need), assuming configuration is done through web.xml . But despite many attempts, I don't understand how to plug Waffle with Spring Security using Boot and Java-only configuration. I'm using Spring Boot 1.2.1.RELEASE with starters web and security, Waffle version is 1.7.3. I realize that

Windows logged on user SSO in Play Framework 2

泄露秘密 提交于 2019-12-01 07:33:40
How do I configure SSO with the MS Windows logged-on user for a Play Framework web application? I would like to deploy a Play Framework Java web app in an enterprise environment in which the users expect the authentication to be performed behind the scenes using the MS Windows logged in user. It is important to be able to adapt the java web app behavior depending on who the user is. I understand this can be configured for JEE apps using Waffle or SPNEGO for example. However, how can I do this for a Play Framework 2.x application? Through packaging as a WAR using play2-war-plugin and deploying

Windows logged on user SSO in Play Framework 2

大憨熊 提交于 2019-12-01 05:01:43
问题 How do I configure SSO with the MS Windows logged-on user for a Play Framework web application? I would like to deploy a Play Framework Java web app in an enterprise environment in which the users expect the authentication to be performed behind the scenes using the MS Windows logged in user. It is important to be able to adapt the java web app behavior depending on who the user is. I understand this can be configured for JEE apps using Waffle or SPNEGO for example. However, how can I do this

Spring Security Role Hierarchy issues

自古美人都是妖i 提交于 2019-12-01 01:02:48
I am trying to enable role hierarchy voting in Spring Security when authenticating using Waffle NTML but having some unknown issues in that the inherited roles do not appear as authorities on the principal as expected preventing hasRole expressions in both the intercept urls and using the authorize jsp taglibs. I have been integrating waffle based on the following guide: https://github.com/dblock/waffle/blob/master/Docs/spring/SpringSecuritySingleSignOnFilter.md This works within the application as expected on its own using the standard RoleVoter but the problem starts when I try to customise