KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > output > AuthenticateResult


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.core.output;
10
11 import org.jboss.portal.server.ServerURL;
12 import org.jboss.portal.server.WindowContext;
13 import org.jboss.portal.server.output.RedirectionResult;
14
15 /**
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.1 $
18  */

19 public class AuthenticateResult extends RedirectionResult
20 {
21
22    /** The target if the authentication is succesfull. */
23    private ServerURL target;
24
25    public AuthenticateResult(WindowContext producer, ServerURL target)
26    {
27       super(producer);
28       this.target = target;
29    }
30
31    public ServerURL getTarget()
32    {
33       return target;
34    }
35 }
36
Popular Tags