CPD Results
The following document contains the results of PMD's CPD 6.55.0.
Duplications
File | Project | Line |
---|---|---|
waffle/spring/NegotiateSecurityFilter.java | waffle-spring-security5 | 213 |
waffle/spring/WindowsAuthenticationProvider.java | waffle-spring-security5 | 115 |
} /** * Gets the principal format. * * @return the principal format */ public PrincipalFormat getPrincipalFormat() { return this.principalFormat; } /** * Sets the principal format enum. * * @param value * the new principal format enum */ public void setPrincipalFormatEnum(final PrincipalFormat value) { this.principalFormat = value; } /** * Sets the principal format. * * @param value * the new principal format */ public void setPrincipalFormat(final String value) { this.setPrincipalFormatEnum(PrincipalFormat.valueOf(value.toUpperCase(Locale.ENGLISH))); } /** * Gets the role format. * * @return the role format */ public PrincipalFormat getRoleFormat() { return this.roleFormat; } /** * Sets the role format enum. * * @param value * the new role format enum */ public void setRoleFormatEnum(final PrincipalFormat value) { this.roleFormat = value; } /** * Sets the role format. * * @param value * the new role format */ public void setRoleFormat(final String value) { this.setRoleFormatEnum(PrincipalFormat.valueOf(value.toUpperCase(Locale.ENGLISH))); } /** * Checks if is allow guest login. * * @return true, if is allow guest login */ public boolean isAllowGuestLogin() { return this.allowGuestLogin; } /** * Sets the allow guest login. * * @param value * the new allow guest login */ public void setAllowGuestLogin(final boolean value) { this.allowGuestLogin = value; } /** * Enable/Disable impersonation. * * @param value * true to enable impersonation, false otherwise */ public void setImpersonate(final boolean value) { |