KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > jguard > jee > authentication > http > HttpAuthenticationUtilsMock


1 package net.sf.jguard.jee.authentication.http;
2
3 import javax.security.auth.Subject JavaDoc;
4
5 import net.sf.jguard.core.authentication.configuration.JGuardConfiguration;
6 import net.sf.jguard.jee.authentication.http.HttpAuthenticationUtils;
7
8 public class HttpAuthenticationUtilsMock extends HttpAuthenticationUtils {
9 private Subject JavaDoc subject = null;
10     public HttpAuthenticationUtilsMock() {
11         super(new JGuardConfiguration());
12         // TODO Auto-generated constructor stub
13
}
14     public Subject JavaDoc getSubject() {
15         return subject;
16     }
17     public void setSubject(Subject JavaDoc subject) {
18         this.subject = subject;
19     }
20
21 }
22
Popular Tags