Class GrpcSecurityConfigurerAdapter
- java.lang.Object
-
- org.springframework.security.config.annotation.SecurityConfigurerAdapter<io.grpc.ServerInterceptor,T>
-
- org.lognet.springboot.grpc.security.GrpcSecurityConfigurer<GrpcSecurity>
-
- org.lognet.springboot.grpc.security.GrpcSecurityConfigurerAdapter
-
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<io.grpc.ServerInterceptor,GrpcSecurity>
public abstract class GrpcSecurityConfigurerAdapter extends GrpcSecurityConfigurer<GrpcSecurity>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcSecurityConfigurerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(GrpcSecurity builder)org.springframework.context.ApplicationContextgetContext()voidinit(GrpcSecurity builder)voidsetApplicationContext(org.springframework.context.ApplicationContext context)
-
-
-
Method Detail
-
setApplicationContext
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext context) throws java.lang.Exception- Throws:
java.lang.Exception
-
init
public void init(GrpcSecurity builder) throws java.lang.Exception
- Specified by:
initin interfaceorg.springframework.security.config.annotation.SecurityConfigurer<io.grpc.ServerInterceptor,GrpcSecurity>- Overrides:
initin classorg.springframework.security.config.annotation.SecurityConfigurerAdapter<io.grpc.ServerInterceptor,GrpcSecurity>- Throws:
java.lang.Exception
-
configure
public void configure(GrpcSecurity builder) throws java.lang.Exception
- Specified by:
configurein interfaceorg.springframework.security.config.annotation.SecurityConfigurer<io.grpc.ServerInterceptor,GrpcSecurity>- Overrides:
configurein classorg.springframework.security.config.annotation.SecurityConfigurerAdapter<io.grpc.ServerInterceptor,GrpcSecurity>- Throws:
java.lang.Exception
-
getContext
public org.springframework.context.ApplicationContext getContext()
-
-