Also used :
TPolicy(org.simbasecurity.api.service.thrift.TPolicy)
Policy(org.simbasecurity.core.domain.Policy)
PolicyRepository(org.simbasecurity.core.domain.repository.PolicyRepository)
RoleRepository(org.simbasecurity.core.domain.repository.RoleRepository)
Autowired(org.springframework.beans.factory.annotation.Autowired)
PolicyEntity(org.simbasecurity.core.domain.PolicyEntity)
SimbaExceptionHandlingCaller(org.simbasecurity.core.service.errors.SimbaExceptionHandlingCaller)
EntityFilterService(org.simbasecurity.core.service.filter.EntityFilterService)
StringUtil.join(org.simbasecurity.common.util.StringUtil.join)
TPolicy(org.simbasecurity.api.service.thrift.TPolicy)
Service(org.springframework.stereotype.Service)
DTOValidator(org.simbasecurity.core.service.validation.DTOValidator)
RuleRepository(org.simbasecurity.core.domain.repository.RuleRepository)
ValidationException(org.owasp.esapi.errors.ValidationException)
TRole(org.simbasecurity.api.service.thrift.TRole)
Role(org.simbasecurity.core.domain.Role)
TException(org.apache.thrift.TException)
Set(java.util.Set)
TRule(org.simbasecurity.api.service.thrift.TRule)
Collectors(java.util.stream.Collectors)
Rule(org.simbasecurity.core.domain.Rule)
ManagementAudit(org.simbasecurity.core.audit.ManagementAudit)
List(java.util.List)
Policy(org.simbasecurity.core.domain.Policy)
ThriftAssembler(org.simbasecurity.core.service.thrift.ThriftAssembler)
PolicyService(org.simbasecurity.api.service.thrift.PolicyService)
Transactional(org.springframework.transaction.annotation.Transactional)
TRule(org.simbasecurity.api.service.thrift.TRule)
Rule(org.simbasecurity.core.domain.Rule)