Ballerina by Examples (BBEs)

This section demonstrates the security related Ballerina by examples (BBEs).

Note These examples are validated against the provided latest Ballerina version with an automated test-suite. BBEs

CategoryBBE
REST API SecurityService - SSL/TLS
Service - Mutual SSL
Service - Basic Auth File User Store
Service - Basic Auth LDAP User Store
Service - JWT Auth
Service - OAuth2
Client - SSL/TLS
Client - Mutual SSL
Client - Basic Auth
Client - Bearer Token Auth
Client - Self Signed JWT Auth
Client - OAuth2 Client Credentials Grant Type
Client - OAuth2 Password Grant Type
Client - OAuth2 Refresh Token Grant Type
Client - OAuth2 JWT Bearer Grant Type
WebSocket SecurityService - SSL/TLS
Service - Mutual SSL
Service - Basic Auth File User Store
Service - Basic Auth LDAP User Store
Service - JWT Auth
Service - OAuth2
Client - SSL/TLS
Client - Mutual SSL
Client - Basic Auth
Client - Bearer Token Auth
Client - Self Signed JWT Auth
Client - OAuth2 Client Credentials Grant Type
Client - OAuth2 Password Grant Type
Client - OAuth2 Refresh Token Grant Type
Client - OAuth2 JWT Bearer Grant Type
GraphQL SecurityService - SSL/TLS
Service - Mutual SSL
Service - Basic Auth File User Store
Service - Basic Auth LDAP User Store
Service - JWT Auth
Service - OAuth2
gRPC SecurityService - SSL/TLS
Service - Mutual SSL
Service - Basic Auth File User Store
Service - Basic Auth LDAP User Store
Service - JWT Auth
Service - OAuth2
Client - SSL/TLS
Client - Mutual SSL
Client - Basic Auth
Client - Bearer Token Auth
Client - Self Signed JWT Auth
Client - OAuth2 Client Credentials Grant Type
Client - OAuth2 Password Grant Type
Client - OAuth2 Refresh Token Grant Type
Client - OAuth2 JWT Bearer Grant Type
Kafka SecuritySASL Authentication - Consumer
SASL Authentication - Producer
RabbitMQ SecuritySecured Connection - Producer & Consumer
NATS SecuritySecured Connection - Publisher & Subscriber
STAN SecuritySecured Connection - Publisher & Subscriber
FTP SecurityListener - SFTP
Client - SFTP
TCP SecurityTCP Transport Security
SecurityCryptographic Operations
JWT Issue & Validate
URLURL Encode & Decode