Package net.sf.michaelo.tomcat.pac
Class NopPacSignatureVerifier
java.lang.Object
net.sf.michaelo.tomcat.pac.NopPacSignatureVerifier
- All Implemented Interfaces:
PacSignatureVerifier
A PAC signature verifier which will do nothing.
Note: Use this verifier for testing purposes only, do not use in production!
-
Field Summary
Fields inherited from interface net.sf.michaelo.tomcat.pac.PacSignatureVerifier
KU_KERB_NON_KERB_CKSUM_SALT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidverify(PacSignatureData signatureData, byte[] data, Key[] keys) Verifies the signature on the supplied data with an array of suitable Kerberos keys.
-
Constructor Details
-
NopPacSignatureVerifier
public NopPacSignatureVerifier()
-
-
Method Details
-
verify
public void verify(PacSignatureData signatureData, byte[] data, Key[] keys) throws SignatureException Description copied from interface:PacSignatureVerifierVerifies the signature on the supplied data with an array of suitable Kerberos keys.- Specified by:
verifyin interfacePacSignatureVerifier- Parameters:
signatureData- the PAC signature data to be verifieddata- the data to be verififedkeys- an array of keys to calculate the signature- Throws:
SignatureException- if signature cannot be verified
-