Okta saml app principal user returning me the unique id not name

when I am trying to get principal user name using this
Authentication authenticationt=SecurityContextHolder.getContext().getAuthentication();
String currentPrincipalName =authenticationt.getName();

instead of user name I am getting this response org.opensaml.saml2.core.impl.NameIDImpl@2a7df764

Is the name mapped in a claim?

image