Construct the CodeSource

Get the Permissions from the Policy

Create the ProtectionDomain

Use SecureClassLoader.defineClass to define the class