Class SecurityIdentity


  • public class SecurityIdentity
    extends Object
    Represents an Identity of an agent interacting with the security service. It can be an user or a process. It consists of a subject and various run-as
    Since:
    Apr 22, 2007
    Version:
    $Revision$
    Author:
    Anil.Saldhana@redhat.com
    • Constructor Detail

      • SecurityIdentity

        public SecurityIdentity​(SubjectInfo subject,
                                RunAs outgoingRunAs,
                                RunAs incomingRunAs)
        Create a SecurityIdentity Instance
        Parameters:
        subject - The SubjectInfo
        outgoingRunAs - RunAs that is propagating out
        incomingRunAs - RunAs that is propagating in
    • Method Detail

      • getPrincipal

        public Principal getPrincipal()
      • getCredential

        public Object getCredential()
      • getSubject

        public Subject getSubject()
      • getOutgoingRunAs

        public RunAs getOutgoingRunAs()
      • getIncomingRunAs

        public RunAs getIncomingRunAs()