Package org.eclipse.jetty.security
Class RoleInfo
- java.lang.Object
-
- org.eclipse.jetty.security.RoleInfo
-
@Deprecated(since="2021-05-27") public class RoleInfo extends Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.RoleInfo Badly named class that holds the role and user data constraint info for a path/http method combination, extracted and combined from security constraints.
-
-
Constructor Summary
Constructors Constructor Description RoleInfo()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddRole(String role)Deprecated.voidcombine(RoleInfo other)Deprecated.Set<String>getRoles()Deprecated.UserDataConstraintgetUserDataConstraint()Deprecated.booleanisAnyAuth()Deprecated.booleanisAnyRole()Deprecated.booleanisChecked()Deprecated.booleanisForbidden()Deprecated.voidsetAnyAuth(boolean anyAuth)Deprecated.voidsetAnyRole(boolean anyRole)Deprecated.voidsetChecked(boolean checked)Deprecated.voidsetForbidden(boolean forbidden)Deprecated.voidsetUserDataConstraint(UserDataConstraint userDataConstraint)Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
isChecked
public boolean isChecked()
Deprecated.
-
setChecked
public void setChecked(boolean checked)
Deprecated.
-
isForbidden
public boolean isForbidden()
Deprecated.
-
setForbidden
public void setForbidden(boolean forbidden)
Deprecated.
-
isAnyRole
public boolean isAnyRole()
Deprecated.
-
setAnyRole
public void setAnyRole(boolean anyRole)
Deprecated.
-
isAnyAuth
public boolean isAnyAuth()
Deprecated.
-
setAnyAuth
public void setAnyAuth(boolean anyAuth)
Deprecated.
-
getUserDataConstraint
public UserDataConstraint getUserDataConstraint()
Deprecated.
-
setUserDataConstraint
public void setUserDataConstraint(UserDataConstraint userDataConstraint)
Deprecated.
-
addRole
public void addRole(String role)
Deprecated.
-
combine
public void combine(RoleInfo other)
Deprecated.
-
-