Skip to content

Commit

Permalink
[ci] Formatting and small adjustments to cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Mar 18, 2024
1 parent 62b0850 commit a90480a
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
* Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
* Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2010-2023 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
* Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2010-2023 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
* Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
* Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ class SPNegoMessageTest {
private static final byte[] NEG_TOKEN_INIT_TOO_SHORT = { 0x60, 0x76, 0x06, 0x06, 0x2B, 0x06, 0x01, 0x05, 0x05 };

/** The Constant NEG_TOKEN_ARG_OK. */
private static final byte[] NEG_TOKEN_ARG_OK = { (byte) 0xA1, 0x33, 0x30, 0x31, 0x0, 0x03, 0x0A, 0x01, 0x01, 0x0, 0x2A,
0x04, 0x28, 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0, 0x0, 0x08, 0x0,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x01,
0x0, 0x1D, 0x00, 0x00, 0x00, 0x0F };
private static final byte[] NEG_TOKEN_ARG_OK = { (byte) 0xA1, 0x33, 0x30, 0x31, 0x0, 0x03, 0x0A, 0x01, 0x01, 0x0,
0x2A, 0x04, 0x28, 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0, 0x0, 0x08,
0x0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06,
0x01, 0x0, 0x1D, 0x00, 0x00, 0x00, 0x0F };

/** The Constant NEG_TOKEN_ARG_TOO_SHORT. */
private static final byte[] NEG_TOKEN_ARG_TOO_SHORT = { (byte) 0xA1, 0x33, 0x30, 0x31, 0x0, 0x03 };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,8 @@
import waffle.windows.auth.impl.WindowsAuthProviderImpl;

/**
* The Class NegotiateAuthenticationRealm.
*
* Derived from net.skorgenes.security.jsecurity.negotiate.NegotiateAuthenticationFilter. see:
*
* https://bitbucket.org/lothor
*
* /shiro-negotiate/src/7b25efde130b/src/main/java/net/skorgenes/security/jsecurity/negotiate
*
* /NegotiateAuthenticationRealm.java?at=default
* The Class NegotiateAuthenticationRealm. Derived from
* net.skorgenes.security.jsecurity.negotiate.NegotiateAuthenticationFilter.
*/
public class NegotiateAuthenticationRealm extends AuthenticatingRealm {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2010-2020 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
* Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -36,19 +36,19 @@
public abstract class MockServletResponse implements HttpServletResponse {

/** The is flushed. */
private boolean isFlushed;
protected boolean isFlushed;

/** The error code. */
private int errorCode;
protected int errorCode;

/** The headers. */
private Map<String, String> headers;
protected Map<String, String> headers;

/** The headers added. */
private Map<String, List<String>> headersAdded;
protected Map<String, List<String>> headersAdded;

/** The sc. */
private int sc;
protected int sc;

@Override
public void addHeader(final String name, final String value) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2010-2023 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
* Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,9 @@ class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandler
private Authentication authentication;

@Override
public void onAuthenticationSuccess(final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse,
final Authentication authentication) throws IOException, ServletException {
public void onAuthenticationSuccess(final HttpServletRequest httpServletRequest,
final HttpServletResponse httpServletResponse, final Authentication authentication)
throws IOException, ServletException {
this.authentication = authentication;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,9 @@ class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandler
private Authentication authentication;

@Override
public void onAuthenticationSuccess(final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse,
final Authentication authentication) throws IOException, ServletException {
public void onAuthenticationSuccess(final HttpServletRequest httpServletRequest,
final HttpServletResponse httpServletResponse, final Authentication authentication)
throws IOException, ServletException {
this.authentication = authentication;
}

Expand Down

0 comments on commit a90480a

Please sign in to comment.