Class VideographerPrincipal

java.lang.Object
org.codice.alliance.video.security.videographer.principal.VideographerPrincipal
All Implemented Interfaces:
Serializable, Principal

public class VideographerPrincipal extends Object implements Principal, Serializable
See Also:
  • Constructor Details

    • VideographerPrincipal

      public VideographerPrincipal(String address)
  • Method Details

    • parseAddressFromName

      public static String parseAddressFromName(String fullName)
      Parses the ip address out of a videographer principal name that has the format Videographer@127.0.0.1
      Parameters:
      fullName - full name (e.g. Videographer@127.0.0.1)
      Returns:
      ip address
    • getAddress

      public String getAddress()
      Returns the ip address associated with this videographer principal
      Returns:
      ip address
    • getName

      public String getName()
      Specified by:
      getName in interface Principal
    • toString

      public String toString()
      Specified by:
      toString in interface Principal
      Overrides:
      toString in class Object