1 28 package net.sf.jguard.ext.authentication.callbacks; 29 30 import javax.security.auth.callback.Callback ; 31 32 import com.octo.captcha.service.CaptchaService; 33 34 public class JCaptchaCallback implements Callback { 35 36 private String sessionID; 37 private String captchaAnswer; 38 private CaptchaService captchaService; 39 private boolean skipJCaptchaChallenge; 40 41 public JCaptchaCallback(){ 42 } 43 44 public final String getSessionID() { 45 return sessionID; 46 } 47 48 public final void setSessionID(String sessionID) { 49 this.sessionID = sessionID; 50 } 51 52 public final String getCaptchaAnswer() { 53 return captchaAnswer; 54 } 55 56 public final void setCaptchaAnswer(String captchaAnswerField) { 57 this.captchaAnswer = captchaAnswerField; 58 } 59 60 public final CaptchaService getCaptchaService() { 61 return captchaService; 62 } 63 64 public final void setCaptchaService(CaptchaService captchaService) { 65 this.captchaService = captchaService; 66 } 67 68 public boolean isSkipJCaptchaChallenge() { 69 return skipJCaptchaChallenge; 70 } 71 72 public void setSkipJCaptchaChallenge(boolean skipJCaptchaChallenge) { 73 this.skipJCaptchaChallenge = skipJCaptchaChallenge; 74 } 75 76 } 77 | Popular Tags |