Class SecurityCheckerWithJavaSecurityImpl
java.lang.Object
com.sap.cloud.spring.boot.mt.config.SecurityCheckerWithJavaSecurityImpl
- All Implemented Interfaces:
SecurityChecker
@Configuration("comSapMtSecurityChecker")
@ConditionalOnClass(com.sap.cloud.security.adapter.spring.SpringSecurityContext.class)
@ConditionalOnProperty(name="com.sap.mt.enabled",
matchIfMissing=true)
@ConditionalOnMissingBean(com.sap.cloud.mt.subscription.SecurityChecker.class)
public class SecurityCheckerWithJavaSecurityImpl
extends Object
implements SecurityChecker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cloud.mt.subscription.SecurityChecker
SecurityChecker.Authority -
Constructor Summary
ConstructorsConstructorDescriptionSecurityCheckerWithJavaSecurityImpl(Config config, Supplier<com.sap.cloud.security.token.AccessToken> accessTokenSupplier) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.mt.subscription.SecurityChecker
checkAuthority
-
Constructor Details
-
SecurityCheckerWithJavaSecurityImpl
-
-
Method Details
-
checkSubscriptionAuthority
- Specified by:
checkSubscriptionAuthorityin interfaceSecurityChecker- Throws:
AuthorityError
-
checkInitDbAuthority
- Specified by:
checkInitDbAuthorityin interfaceSecurityChecker- Throws:
AuthorityError
-