Package org.eclipse.jetty.security
Class RoleInfo
java.lang.Object
org.eclipse.jetty.security.RoleInfo
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.
- Version:
- $Rev: 4793 $ $Date: 2009-03-19 00:00:01 +0100 (Thu, 19 Mar 2009) $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetRoles()booleanbooleanbooleanbooleanvoidsetAnyAuth(boolean anyAuth) voidsetAnyRole(boolean anyRole) voidsetChecked(boolean checked) voidsetForbidden(boolean forbidden) voidsetUserDataConstraint(UserDataConstraint userDataConstraint) toString()
-
Constructor Details
-
RoleInfo
public RoleInfo()
-
-
Method Details
-
isChecked
public boolean isChecked() -
setChecked
public void setChecked(boolean checked) -
isForbidden
public boolean isForbidden() -
setForbidden
public void setForbidden(boolean forbidden) -
isAnyRole
public boolean isAnyRole() -
setAnyRole
public void setAnyRole(boolean anyRole) -
isAnyAuth
public boolean isAnyAuth() -
setAnyAuth
public void setAnyAuth(boolean anyAuth) -
getUserDataConstraint
-
setUserDataConstraint
-
getRoles
-
addRole
-
combine
-
toString
-