-
1. Re: Build error for examples
scmikes Oct 10, 2002 9:36 PM (in response to lucsky)I found 2 errors, and here are the fixes that I used
let me know if you still have problems,
Mike
########################################################
File:
org.jboss.chap6.ex3.SendRecvClient.java
Error:
Wrong Package Def
Bad Code:
package org.jboss.chap4.example3;
Good Code:
package org.jboss.chap6.ex3;
#--------------------- Missing Function
Problem:
org.jboss.security.srp.SRPVerifierStore interface defines a functions that the PropertiesVerifierStore in example 8 does not override.
My Hack:
Define an empty function in SRPVerifierStor
File: org.jboss.chap8.ex3.service.PropertiesVerifierStore.java
Add This Function:
/** Verify an optional auxillary challenge sent from the client to the server. The
* auxChallenge object will have been decrypted if it was sent encrypted from the
* client. An example of a auxillary challenge would be the validation of a hardware
* token (SafeWord, SecureID, iButton) that the server validates to further strengthen
* the SRP password exchange.
*/
public void verifyUserChallenge(String username, Object auxChallenge)
throws SecurityException
{
} -
2. Re: Build error for examples
lucsky Oct 11, 2002 9:06 AM (in response to lucsky)It worked out perfectly.
Tks a lot, Mike.