Package org.jboss.security
Class SecurityIdentity
- java.lang.Object
-
- org.jboss.security.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 Summary
Constructors Constructor Description SecurityIdentity(SubjectInfo subject, RunAs outgoingRunAs, RunAs incomingRunAs)
Create a SecurityIdentity Instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCredential()
RunAs
getIncomingRunAs()
RunAs
getOutgoingRunAs()
Principal
getPrincipal()
Subject
getSubject()
-
-
-
Constructor Detail
-
SecurityIdentity
public SecurityIdentity(SubjectInfo subject, RunAs outgoingRunAs, RunAs incomingRunAs)
Create a SecurityIdentity Instance- Parameters:
subject
- The SubjectInfooutgoingRunAs
- RunAs that is propagating outincomingRunAs
- RunAs that is propagating in
-
-