Class BambooPrincipal
- java.lang.Object
-
- com.atlassian.bamboo.testutils.user.BambooPrincipal
-
- Direct Known Subclasses:
BambooGroupPrincipal
,BambooRole
,BambooUserPrincipal
public abstract class BambooPrincipal extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BambooPrincipal(@NotNull org.acegisecurity.acls.sid.Sid sid)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static BambooPrincipal
forGroup(@NotNull TestGroup group)
static BambooPrincipal
forUser(@NotNull TestUser user)
abstract String
getPrincipalName()
abstract BambooPrincipalType
getPrincipalType()
org.acegisecurity.acls.sid.Sid
getSid()
String
toString()
-
-
-
Method Detail
-
getPrincipalType
public abstract BambooPrincipalType getPrincipalType()
-
getPrincipalName
public abstract String getPrincipalName()
-
getSid
public org.acegisecurity.acls.sid.Sid getSid()
-
forUser
public static BambooPrincipal forUser(@NotNull @NotNull TestUser user)
-
forGroup
public static BambooPrincipal forGroup(@NotNull @NotNull TestGroup group)
-
-