001 package net.databinder.auth.components.ao;
002
003 import net.databinder.auth.components.DataSignInPageBase;
004
005 import org.apache.wicket.Component;
006 import org.apache.wicket.PageParameters;
007
008 /**
009 * Sign in and registration page.
010 * Replaceable String resources: <pre>
011 * data.auth.title.sign_in
012 * data.auth.pre_register_link
013 * data.auth.register_link
014 * data.auth.pre_sign_in_link
015 * data.auth.sign_in_link
016 * or a subclass of this panel.
017 */
018 public class DataSignInPage extends DataSignInPageBase {
019
020 public DataSignInPage(ReturnPage returnPage) {
021 super(returnPage);
022 }
023 public DataSignInPage(PageParameters params) {
024 super(params);
025 }
026
027 @Override
028 protected Component profileSocket(String id, ReturnPage returnPage) {
029 return new DataProfilePanel(id, returnPage);
030 }
031 }