Package net.sf.michaelo.tomcat.pac
Class PrivateSunPacSignatureVerifier
- java.lang.Object
-
- net.sf.michaelo.tomcat.pac.PacSignatureVerifierBase
-
- net.sf.michaelo.tomcat.pac.PrivateSunPacSignatureVerifier
-
- All Implemented Interfaces:
PacSignatureVerifier
public class PrivateSunPacSignatureVerifier extends PacSignatureVerifierBase
A PAC signature verifier based on private Sun classes from Java's Kerberos implementation.Note: This implementation is far from ideal because it uses private classes which can break anytime. If you are running on Java 17 or newer you must pass
--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED
to your JVM. A better solution would be to use the Apache Kerby library.
-
-
Field Summary
-
Fields inherited from interface net.sf.michaelo.tomcat.pac.PacSignatureVerifier
KU_KERB_NON_KERB_CKSUM_SALT
-
-
Constructor Summary
Constructors Constructor Description PrivateSunPacSignatureVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
verifyInternal(PacSignatureData signatureData, byte[] data, Key[] keys)
In contrast toPacSignatureVerifierBase.verify(PacSignatureData, byte[], Key[])
all input parameters are validated before passed down.-
Methods inherited from class net.sf.michaelo.tomcat.pac.PacSignatureVerifierBase
verify
-
-
-
-
Method Detail
-
verifyInternal
protected void verifyInternal(PacSignatureData signatureData, byte[] data, Key[] keys) throws SignatureException
Description copied from class:PacSignatureVerifierBase
In contrast toPacSignatureVerifierBase.verify(PacSignatureData, byte[], Key[])
all input parameters are validated before passed down.- Specified by:
verifyInternal
in classPacSignatureVerifierBase
- Throws:
SignatureException
- See Also:
PacSignatureVerifierBase.verify(PacSignatureData, byte[], Key[])
-
-