public class InetAddressCacheUtil extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Clears the entire cache storing the address permissions.
Gets from cache whether the
Sets in the cache that
public static final String INET_ADDRESS_CACHE_NAME
public void setPermitted(Application application, InetAddress address, boolean permitted)
addressis permitted/forbidden from making a request to the Crowd server.
application- application that is requesting the connection.
address- InetAddress to set
addressis permitted or forbidden to make a request.
@Nullable public Boolean getPermitted(Application application, InetAddress address)
addressis permitted to make a request to the Crowd server.
application- Application making the request.
address- address of the client making the request.
addressis permitted to make a request, or
public void clearCache()
Copyright © 2017 Atlassian. All rights reserved.