diff --git a/controller/controller.go b/controller/controller.go index 5415f324d..48c101a8f 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -35,6 +35,7 @@ import ( "github.com/openziti/fabric/xweb" "github.com/openziti/foundation/channel2" "github.com/openziti/foundation/common" + "github.com/openziti/foundation/identity/identity" "github.com/openziti/foundation/profiler" "github.com/openziti/foundation/util/concurrenz" "github.com/sirupsen/logrus" @@ -287,3 +288,7 @@ func (c *Controller) RegisterXWebHandlerFactory(x xweb.WebHandlerFactory) error func (c *Controller) GetNetwork() *network.Network { return c.network } + +func (c *Controller) Identity() identity.Identity { + return c.config.Id +}