1 22 package org.jboss.security.identity.sso; 23 24 import java.io.Serializable ; 25 26 28 35 public class AuthResponse implements Serializable 36 { 37 38 private static final long serialVersionUID = -7206332679806340854L; 39 private String assertingParty = null; 40 private String assertToken = null; 41 private SSOUser user = null; 42 private boolean success = false; 43 44 public AuthResponse(String assertingParty,String assertToken, 45 SSOUser user,boolean success) 46 { 47 super(); 48 this.assertingParty = assertingParty; 49 this.assertToken = assertToken; 50 this.user = user; 51 this.success = success; 52 } 53 54 public String getAssertingParty() 55 { 56 return this.assertingParty; 57 } 58 59 public void setAssertingParty(String assertingParty) 60 { 61 this.assertingParty = assertingParty; 62 } 63 64 public String getAssertToken() 65 { 66 return this.assertToken; 67 } 68 69 public SSOUser getUser() 70 { 71 return this.user; 72 } 73 74 public void setUser(SSOUser user) 75 { 76 this.user = user; 77 } 78 79 public boolean isAuthenticated() 80 { 81 return this.success; 82 } 83 } 84 | Popular Tags |