Questions tagged [waffle]

WAFFLE is a Windows authentication framework for Java and C#.

WAFFLE is a native Windows Authentication Framework consisting of two C# and Java libraries that perform functions related to Windows authentication, supporting , and . Waffle also includes libraries that enable drop-in Windows Single Sign On for popular Java web servers, when running on Windows.

118 questions
20
votes
1 answer

Why does IE 11 browser randomly have Content-Length=0 for jQuery AJAX POST requests?

I'm working on Spring MVC based webapp. Following are my environment details :- Java 1.8.0_162 (64 bit), Spring 4.3.1, Apache Tomcat 8.0.49, Waffle-1.8.3 for SSO, jquery-1.11.3 and Google Charts API. Have put the following JavaScript code in one of…
Shiva
  • 599
  • 1
  • 6
  • 21
11
votes
1 answer

How to configure waffle in spring using java configuration

I have been struggling to get waffle to work with spring 4.2.5 using spring java configuration. And I thought I might as well help others in the same situation. We use a custom preWaffle and postWaffle filter to authenticate that the user exists in…
Pablo Jomer
  • 9,870
  • 11
  • 54
  • 102
8
votes
1 answer

Solidity: Testing reverted assertions with waffle + chai doesn't work

I'm testing a smart contract for an ERC721 token, that inherits from OpenZeppelin, using waffle and chai with NodeJS v14.18.0, but chai's reverted assertions don't seem to function as expected. Dependencies: "devDependencies": { …
Craigson
  • 131
  • 2
  • 8
7
votes
2 answers

SSO waffle asking username and password

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…
Surendran Duraisamy
  • 2,431
  • 5
  • 26
  • 29
6
votes
1 answer

Browser ask login and password when I connect to service

I use Spring Security with Waffle in my service. When I connect to the service locally (Browser and Tomcat are started up on the same computer), everything works very well (Browser doesn't ask login and password). When I connect to the service from…
Сергей
  • 176
  • 1
  • 12
6
votes
1 answer

What is this Waffle SSO example doing

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=…
Thomas Uhrig
  • 30,811
  • 12
  • 60
  • 80
5
votes
2 answers

Implementing fixtures with @nomiclabs/hardhat-waffle

In the official waffle documentation you may find the next way to implement fixtures: import {expect} from 'chai'; import {loadFixture, deployContract} from 'ethereum-waffle'; import BasicTokenMock from…
Edward Casanova
  • 726
  • 7
  • 19
5
votes
2 answers

Java SSO with using waffle in Tomcat

I am using following code to get actual logged in user: IWindowsSecurityContext clientContext = WindowsSecurityContextImpl.getCurrent("Negotiate", "localhost"); WindowsAuthProviderImpl provider = new WindowsAuthProviderImpl(); …
PaPaNi
  • 53
  • 5
5
votes
1 answer

How to get the role for current user with Spring Security

I'm trying to fetch all the roles for the current user who has been authenticated and show them in a JSP page. I notice that there are some built-in expressions listed here:…
Omnipresent
  • 29,434
  • 47
  • 142
  • 186
4
votes
1 answer

Migrating a Waffle Spring Security XML configuration to Spring Boot

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…
LeRiton
  • 313
  • 1
  • 4
  • 10
4
votes
1 answer

Windows logged on user SSO in Play Framework 2

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…
nize
  • 1,012
  • 1
  • 11
  • 27
3
votes
1 answer

Struts 2 + Waffle: User principal is always null

I am working on a Web application based on Java, JSP, Struts 2 and Waffle for security. I run it in Tomcat 6. My problem is that I cannot get a principal object in my ActionSupport class. To be more specific,…
Tom Bartel
  • 2,283
  • 1
  • 15
  • 18
3
votes
2 answers

NTLM authentication in HttpURLConnection not working in JRE but works in JDK environment

I am using eclipse to develop 2 parts of an application. The web part provides REST services and requests to the services are filtered using waffle.servlet.NegotiateSecurityFilter which extracts the Windows login information to identify the…
paul
  • 13,312
  • 23
  • 81
  • 144
3
votes
0 answers

JNA Kerberos ws-security SOAP

One one end a SOAP service (Java) protected with WS-security. One the other end, an HTTP server (Java) that acts as a client to the SOAP server. I would like to implement single sign-on (using Negotiate/Kerberos) for users with the following…
geo.wolfer
  • 41
  • 6
3
votes
2 answers

How to get the client username with Waffle?

I'm running Tomcat 7 on Windows 7. All clients are running Windows 7 too . I'm trying to print the client username on a test.jsp page so I use Waffle . Here is the WEB-INF/web.xml SecurityFilter
john
  • 647
  • 5
  • 23
  • 53
1
2 3 4 5 6 7 8