// if they dont match, throw an error
if ( ! nodeContextId.equals( explicitContextId ) ) {
throw new HibernateException( "Non-matching JACC context ids" );
}
}
jaccPermissionDeclarations = new JaccPermissionDeclarations( nodeContextId );
Iterator grantElements = secNode.elementIterator();
while ( grantElements.hasNext() ) {
final Element grantElement = (Element) grantElements.next();
final String elementName = grantElement.getName();