Class DefaultSecurityPrincipal

java.lang.Object
cloud.piranha.webapp.impl.DefaultSecurityPrincipal
All Implemented Interfaces:
java.security.Principal

public class DefaultSecurityPrincipal
extends java.lang.Object
implements java.security.Principal
The default SecurityPrincipal.
Author:
Manfred Riem ([email protected])
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultSecurityPrincipal​(java.lang.String name)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()
    Get the name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.security.Principal

    equals, hashCode, implies, toString
  • Constructor Details

    • DefaultSecurityPrincipal

      public DefaultSecurityPrincipal​(java.lang.String name)
      Constructor.
      Parameters:
      name - the name.
  • Method Details

    • getName

      public java.lang.String getName()
      Get the name.
      Specified by:
      getName in interface java.security.Principal
      Returns:
      the name.