public class SSOUtils extends Object
| Constructor and Description |
|---|
SSOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCookieDomainValid(String cookieDomain,
String hostname)
Given a hostname, this method tests if the supplied cookie domain is legal,
following RFC 6265 as closely as possible.
|
public static boolean isCookieDomainValid(String cookieDomain, String hostname)
cookieDomain - a cookie domain.hostname - the host part of a URL.true if the cookie domain is valid for the given hostname,
false otherwise.Copyright © 2018 Atlassian. All rights reserved.