diff --git a/obp-api/src/main/scala/code/api/util/APIUtil.scala b/obp-api/src/main/scala/code/api/util/APIUtil.scala index 2471e5c21f..90af7a441f 100644 --- a/obp-api/src/main/scala/code/api/util/APIUtil.scala +++ b/obp-api/src/main/scala/code/api/util/APIUtil.scala @@ -2164,6 +2164,12 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{ case false => "User Authentication is Optional" } + def applicationAccessMessage(applicationAccessRequired: Boolean) : String = + applicationAccessRequired match { + case true => "Application Authentication is Mandatory" + case false => "Application Authentication is Optional" + } + def fullBaseUrl(callContext: Option[CallContext]) : String = {