Deployment engineering

Federated claim policy model

Assumes validated synthetic identity; not JWT verification. Executed Java 21 offline model; hosted cloud behavior not established.

Formal Syntax & Structure

java syntaxjava
allowed(identity)

Working Example

Example Snippetjava
public class Main {    record Identity(String issuer,String audience,String subject) {}    static boolean allowed(Identity i) {        return "ci.example.invalid".equals(i.issuer()) && "deploy-demo".equals(i.audience()) && "repo:demo/catalog:environment:staging".equals(i.subject());    }    public static void main(String[] args) {        System.out.println(allowed(new Identity("ci.example.invalid","deploy-demo","repo:demo/catalog:environment:staging")));        System.out.println(allowed(new Identity("ci.example.invalid","deploy-demo","repo:other/catalog:environment:staging")));    }}
Java Reference