Added Aspect logo.

git-svn-id: http://webgoat.googlecode.com/svn/trunk@95 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
esheri3 2007-01-25 20:22:07 +00:00
parent bce99008fb
commit f9caf9b7c0

View File

@ -7,7 +7,9 @@ import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import org.apache.ecs.Element;
import org.apache.ecs.ElementContainer;
import org.apache.ecs.html.IMG;
import org.owasp.webgoat.lessons.AbstractLesson;
import org.owasp.webgoat.lessons.Category;
import org.owasp.webgoat.lessons.LessonAction;
@ -50,6 +52,7 @@ import org.owasp.webgoat.session.WebSession;
*/
public class RoleBasedAccessControl extends LessonAdapter
{
public final static IMG ASPECT_LOGO = new IMG("images/logos/aspect.jpg").setAlt("Aspect Security").setBorder(0).setHspace(0).setVspace(0);
public final static String DESCRIPTION = "description";
@ -525,5 +528,9 @@ public class RoleBasedAccessControl extends LessonAdapter
//return findSourceResource(getCurrentLessonScreen()....);
return super.getSourceFileName();
}
public Element getCredits()
{
return super.getCustomCredits("", ASPECT_LOGO);
}
}