@Configuration(value="comSapMtSecurityCheckerWithSpringXsuuaImpl") @ConditionalOnClass(value=com.sap.cloud.security.xsuaa.token.Token.class) @ConditionalOnProperty(name="com.sap.mt.enabled", matchIfMissing=true) @ConditionalOnMissingBean(value=com.sap.cloud.mt.subscription.SecurityChecker.class) public class SecurityCheckerWithSpringXsuuaImpl extends Object implements SecurityChecker
Constructor and Description |
---|
SecurityCheckerWithSpringXsuuaImpl(Config config) |
Modifier and Type | Method and Description |
---|---|
void |
checkInitDbAuthority() |
void |
checkSubscriptionAuthority() |
public SecurityCheckerWithSpringXsuuaImpl(Config config)
public void checkSubscriptionAuthority() throws AuthorityError
checkSubscriptionAuthority
in interface SecurityChecker
AuthorityError
public void checkInitDbAuthority() throws AuthorityError
checkInitDbAuthority
in interface SecurityChecker
AuthorityError
Copyright © 2020 SAP. All rights reserved.