org.jboss.metadata.web.spec
Class SecurityConstraintMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.web.spec.SecurityConstraintMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData

public class SecurityConstraintMetaData
extends IdMetaDataImpl

The web app security-constraints

Version:
$Revision: 81768 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
SecurityConstraintMetaData()
           
 
Method Summary
 AuthConstraintMetaData getAuthConstraint()
           
 String getDisplayName()
           
 WebResourceCollectionsMetaData getResourceCollections()
           
 List<String> getRoleNames()
          Accessor for the security-constraint/auth-constraint/role-name(s)
 TransportGuaranteeType getTransportGuarantee()
          Accessor for the UserDataConstraint.TransportGuarantee
 UserDataConstraintMetaData getUserDataConstraint()
           
 boolean isExcluded()
          The excluded flag is set when there is an empty security-constraint/auth-constraint element
 boolean isUnchecked()
          The unchecked flag is set when there is no security-constraint/auth-constraint
 void setAuthConstraint(AuthConstraintMetaData authConstraint)
           
 void setDisplayName(String displayName)
           
 void setResourceCollections(WebResourceCollectionsMetaData resourceCollections)
           
 void setUserDataConstraint(UserDataConstraintMetaData userDataConstraint)
           
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, equals, getId, hashCode, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityConstraintMetaData

public SecurityConstraintMetaData()
Method Detail

getAuthConstraint

public AuthConstraintMetaData getAuthConstraint()

setAuthConstraint

public void setAuthConstraint(AuthConstraintMetaData authConstraint)

getDisplayName

public String getDisplayName()

setDisplayName

public void setDisplayName(String displayName)

getResourceCollections

public WebResourceCollectionsMetaData getResourceCollections()

setResourceCollections

public void setResourceCollections(WebResourceCollectionsMetaData resourceCollections)

getUserDataConstraint

public UserDataConstraintMetaData getUserDataConstraint()

setUserDataConstraint

public void setUserDataConstraint(UserDataConstraintMetaData userDataConstraint)

isUnchecked

public boolean isUnchecked()
The unchecked flag is set when there is no security-constraint/auth-constraint

Returns:
true if there is no auth-constraint

isExcluded

public boolean isExcluded()
The excluded flag is set when there is an empty security-constraint/auth-constraint element

Returns:
true if there is an empty auth-constraint

getRoleNames

public List<String> getRoleNames()
Accessor for the security-constraint/auth-constraint/role-name(s)

Returns:
A possibly empty set of constraint role names. Use isUnchecked and isExcluded to check for no or an emtpy auth-constraint

getTransportGuarantee

public TransportGuaranteeType getTransportGuarantee()
Accessor for the UserDataConstraint.TransportGuarantee

Returns:
UserDataConstraint.TransportGuarantee


Copyright © 2009 JBoss Inc.. All Rights Reserved.