This commit is contained in:
Crystal.Sea
2021-09-24 14:37:15 +08:00
parent 5f4c44ec59
commit 2fdd018239
114 changed files with 451 additions and 812 deletions

View File

@@ -25,8 +25,6 @@ package org.maxkey.authz.cas.endpoint.ticket;
* @since 4.2.0
*/
public abstract class AbstractTicketException{
private static final long serialVersionUID = -5128676415951733624L;
String code;
String msg;
Throwable throwable;

View File

@@ -33,8 +33,6 @@ import org.slf4j.LoggerFactory;
*/
public abstract class AbstractWebApplicationService {
private static final long serialVersionUID = 610105280927740076L;
/** Logger instance. **/
protected static final Logger LOGGER = LoggerFactory.getLogger(AbstractWebApplicationService.class);

View File

@@ -31,7 +31,7 @@ package org.maxkey.authz.cas.endpoint.ticket;
* </p>
*/
public interface Service {
boolean getId();
String getId();
boolean matches(Service service);
}

View File

@@ -26,8 +26,6 @@ package org.maxkey.authz.cas.endpoint.ticket;
*/
public final class SimpleWebApplicationServiceImpl extends AbstractWebApplicationService {
private static final long serialVersionUID = 8334068957483758042L;
public SimpleWebApplicationServiceImpl(final String id) {
this(id, id, null);
}

View File

@@ -17,9 +17,6 @@
package org.maxkey.authz.cas.endpoint.ticket.generator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.InetAddress;
/**
@@ -29,8 +26,7 @@ import java.net.InetAddress;
* @since 5.0.0
*/
public final class InetAddressUtils {
private static final Logger logger = LoggerFactory.getLogger(InetAddressUtils.class);
private InetAddressUtils() {
}