Package org.faceless.publisher.web
Class Authority
java.lang.Object
org.faceless.publisher.web.Authority
An Authority authorizes "grants" on a ServiceEngine to be run remotely.
One or more are required to allow normal use. At a minimum they require
a Key (public or secret) and one or more grants which they can approve.
Requests made to the service engine will be tested against each
authority and the first one that matches will be used to configure the job.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionJson
getKey()
long
Json
boolean
matches
(InetAddress ip) setGrants
(Collection<String> grants) setMaxBufferSize
(long limit) toString()
-
Field Details
-
ALLOWALL
-
-
Constructor Details
-
Authority
public Authority() -
Authority
public Authority(Json json)
-
-
Method Details