Class ConnectorIdentity.Builder
java.lang.Object
io.trino.spi.security.ConnectorIdentity.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withConnectorRole(SelectedRole connectorRole) withConnectorRole(Optional<SelectedRole> connectorRole) withEnabledSystemRoles(Set<String> enabledSystemRoles) withExtraCredentials(Map<String, String> extraCredentials) withGroups(Set<String> groups) withPrincipal(Principal principal) withPrincipal(Optional<Principal> principal)
-
Method Details
-
withGroups
-
withPrincipal
-
withPrincipal
-
withEnabledSystemRoles
-
withConnectorRole
-
withConnectorRole
-
withExtraCredentials
-
build
-