public final class NativeAuthorityProviderAlgorithm extends Object implements AuthorityProvideAlgorithm
| Constructor and Description |
|---|
NativeAuthorityProviderAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ShardingSpherePrivileges> |
findPrivileges(org.apache.shardingsphere.infra.metadata.user.Grantee grantee) |
String |
getType() |
void |
init(Map<String,org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData> mataDataMap,
Collection<org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser> users) |
void |
refresh(Map<String,org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData> mataDataMap,
Collection<org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser> users) |
public void init(Map<String,org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData> mataDataMap, Collection<org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser> users)
init in interface AuthorityProvideAlgorithmpublic void refresh(Map<String,org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData> mataDataMap, Collection<org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser> users)
refresh in interface AuthorityProvideAlgorithmpublic Optional<ShardingSpherePrivileges> findPrivileges(org.apache.shardingsphere.infra.metadata.user.Grantee grantee)
findPrivileges in interface AuthorityProvideAlgorithmpublic String getType()
getType in interface org.apache.shardingsphere.infra.spi.typed.TypedSPICopyright © 2021 The Apache Software Foundation. All rights reserved.