public class RuleBuilder extends Object
| Constructor and Description |
|---|
RuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationRule |
build() |
RuleBuilder |
entity(AllowedEntity entity) |
protected List<AllowedEntity> |
getEntities() |
protected String |
getServletPath() |
protected boolean |
isRequiresToken() |
RuleBuilder |
needsToken(org.gcube.common.authorization.library.ClientType... typesAccepted) |
RuleBuilder |
path(String servletPath) |
public RuleBuilder path(String servletPath)
public RuleBuilder entity(AllowedEntity entity)
public RuleBuilder needsToken(org.gcube.common.authorization.library.ClientType... typesAccepted)
protected String getServletPath()
protected List<AllowedEntity> getEntities()
protected boolean isRequiresToken()
public AuthorizationRule build()
Copyright © 2019. All Rights Reserved.