Class SecurityTestPrincipal

  • All Implemented Interfaces:
    Serializable, org.springframework.security.core.AuthenticatedPrincipal

    public class SecurityTestPrincipal
    extends com.totvs.tjf.core.common.security.SecurityPrincipal
    implements org.springframework.security.core.AuthenticatedPrincipal
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityTestPrincipal

        public SecurityTestPrincipal​(String userid,
                                     String username,
                                     String tenant,
                                     String databaseTenant)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.springframework.security.core.AuthenticatedPrincipal