Android Open Source - NCUWirelessPassport N C U W L Loginer






From Project

Back to project page NCUWirelessPassport.

License

The source code is released under:

Apache License

If you think the Android project NCUWirelessPassport listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package tw.edu.ncu.nos.ncuwlpp.wirelessloginer;
/*  www  .  j  a  v  a 2s  .  c o  m*/
import android.content.Context;

import java.io.InputStream;

import tw.edu.ncu.nos.ncuwlpp.R;
import tw.edu.ncu.nos.ncuwlpp.WirelessLoginer;

/**
 * Created by Davy on 3/22/14.
 */
public class NCUWLLoginer extends WirelessLoginer {
    protected String getLoginURL() { return "https://securelogin.arubanetworks.com/auth/index.html/u"; }
    protected String getLoginSucceedURL() { return null; }
    protected String getLoginFailedURL() { return "https://securelogin.arubanetworks.com/upload/custom/default/index.htm?errmsg=Authentication failed"; }
    protected InputStream getSSLCAStream() { return context.getResources().openRawResource(R.raw.securelogin_arubanetworks_com); }
    protected String getLoginSucceedMessage() { return "User NCUWLLoginerAuthenticated"; }
    protected String getLoginFailedMessage() { return "Authentication failed"; }

    public NCUWLLoginer(Context context) {
        super(context);
    }
}




Java Source Code List

tw.edu.ncu.nos.ncuwlpp.Account.java
tw.edu.ncu.nos.ncuwlpp.LoginHelper.java
tw.edu.ncu.nos.ncuwlpp.MainActivity.java
tw.edu.ncu.nos.ncuwlpp.NotificationBuilder.java
tw.edu.ncu.nos.ncuwlpp.SlidingMenuFragment.java
tw.edu.ncu.nos.ncuwlpp.WifiStatusReceiver.java
tw.edu.ncu.nos.ncuwlpp.WirelessLoginer.java
tw.edu.ncu.nos.ncuwlpp.wirelessloginer.LITLoginer.java
tw.edu.ncu.nos.ncuwlpp.wirelessloginer.NCTUGuestLoginer.java
tw.edu.ncu.nos.ncuwlpp.wirelessloginer.NCTUWirelessLoginer.java
tw.edu.ncu.nos.ncuwlpp.wirelessloginer.NCUCELoginer.java
tw.edu.ncu.nos.ncuwlpp.wirelessloginer.NCUWLLoginer.java
tw.edu.ncu.nos.ncuwlpp.wirelessloginer.NCU_CSIELoginer.java
tw.edu.ncu.nos.ncuwlpp.wirelessloginer.NTULoginer.java