Class RSocketSecurity.AuthorizePayloadsSpec
- java.lang.Object
-
- org.springframework.security.config.annotation.rsocket.RSocketSecurity.AuthorizePayloadsSpec
-
- Enclosing class:
- RSocketSecurity
public class RSocketSecurity.AuthorizePayloadsSpec extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRSocketSecurity.AuthorizePayloadsSpec.Access
-
Constructor Summary
Constructors Constructor Description AuthorizePayloadsSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RSocketSecurity.AuthorizePayloadsSpec.AccessanyExchange()Always matchesRSocketSecurity.AuthorizePayloadsSpec.AccessanyRequest()Matches ifPayloadExchangeType.isRequest()is true, else not a matchprotected org.springframework.security.rsocket.authorization.AuthorizationPayloadInterceptorbuild()RSocketSecurity.AuthorizePayloadsSpec.Accessmatcher(org.springframework.security.rsocket.util.matcher.PayloadExchangeMatcher matcher)RSocketSecurity.AuthorizePayloadsSpec.Accessroute(java.lang.String pattern)RSocketSecurity.AuthorizePayloadsSpec.Accesssetup()
-
-
-
Method Detail
-
setup
public RSocketSecurity.AuthorizePayloadsSpec.Access setup()
-
anyRequest
public RSocketSecurity.AuthorizePayloadsSpec.Access anyRequest()
Matches ifPayloadExchangeType.isRequest()is true, else not a match- Returns:
- the Access to set up the authorization rule.
-
anyExchange
public RSocketSecurity.AuthorizePayloadsSpec.Access anyExchange()
Always matches- Returns:
- the Access to set up the authorization rule.
-
build
protected org.springframework.security.rsocket.authorization.AuthorizationPayloadInterceptor build()
-
route
public RSocketSecurity.AuthorizePayloadsSpec.Access route(java.lang.String pattern)
-
matcher
public RSocketSecurity.AuthorizePayloadsSpec.Access matcher(org.springframework.security.rsocket.util.matcher.PayloadExchangeMatcher matcher)
-
-