public interface OriginAuthorizer
Modifier and Type | Method and Description |
---|---|
boolean |
authorize(java.lang.String origin)
Indicates whether a client with a given origin is permitted
to access resources.
|
boolean |
authorizeAll()
Indicates whether clients from arbitrary origins (including none)
are permitted to access resources.
|
boolean authorize(java.lang.String origin)
origin
- client Originboolean authorizeAll()