Back to project page azure-activedirectory-library-for-android.
The source code is released under:
Apache License
If you think the Android project azure-activedirectory-library-for-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.microsoft.aad.adal; /* w ww .ja va 2 s. c o m*/ import java.net.URL; import java.util.Locale; class UrlExtensions { public static boolean isADFSAuthority(URL authorizationEndpoint) { // similar to ADAL.NET String path = authorizationEndpoint.getPath(); return !StringExtensions.IsNullOrBlank(path) && path.toLowerCase(Locale.ENGLISH).equals("/adfs"); } }