Package net.sf.michaelo.tomcat.pac
Class NopPacSignatureVerifier
- java.lang.Object
-
- net.sf.michaelo.tomcat.pac.NopPacSignatureVerifier
-
- All Implemented Interfaces:
PacSignatureVerifier
public class NopPacSignatureVerifier extends Object implements 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 Constructor Description NopPacSignatureVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
verify(PacSignatureData signatureData, byte[] data, Key[] keys)
Verifies the signature on the supplied data with an array of suitable Kerberos keys.
-
-
-
Method Detail
-
verify
public void verify(PacSignatureData signatureData, byte[] data, Key[] keys) throws SignatureException
Description copied from interface:PacSignatureVerifier
Verifies the signature on the supplied data with an array of suitable Kerberos keys.- Specified by:
verify
in 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
-
-