1 7 package org.jboss.security.auth.callback; 8 9 import java.security.Principal ; 10 import javax.security.auth.callback.Callback ; 11 12 13 19 public class SecurityAssociationCallback implements Callback 20 { 21 private transient Principal principal; 22 private transient Object credential; 23 24 26 public SecurityAssociationCallback() 27 { 28 } 29 30 public Principal getPrincipal() 31 { 32 return principal; 33 } 34 public void setPrincipal(Principal principal) 35 { 36 this.principal = principal; 37 } 38 39 public Object getCredential() 40 { 41 return credential; 42 } 43 public void setCredential(Object credential) 44 { 45 this.credential = credential; 46 } 47 public void clearCredential() 48 { 49 this.credential = null; 50 } 51 } 52 53 | Popular Tags |